langpack.getLangPack

Get localization pack strings

langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector<LangPackString> = LangPackDifference;
---functions---
langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference;

Parameters

Name Type Description
lang_pack string Language pack name, usually obtained from a language pack link
lang_code string Language code

Result

LangPackDifference

Possible errors

Code Type Description
400 LANG_CODE_NOT_SUPPORTED The specified language code is not supported.
400 LANG_PACK_INVALID The provided language pack is invalid.

Related pages

Deep links

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.