langpack.getLanguage
Get information about a language in a localization pack
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
lang_pack | string | Ja | Platform identifier (i.e. `android`, `tdesktop`, etc). |
lang_code | string | Ja | Either an ISO 639-1 language code or a language pack name obtained from a [language pack link](https://core.telegram.org/api/links.md#language-pack-links). |
Antworten
LangPackLanguage
MTProto RPC
- 400 · LANG_CODE_NOT_SUPPORTED – Der angegebene Sprachcode wird nicht unterstützt.
- 400 · LANG_PACK_INVALID – Das bereitgestellte Sprachpaket ist ungültig.