Layer 220
LangpackGetLanguages
Get information about all languages in a localization pack
method
Users
langpack.getLanguages#42c6978f lang_pack:string = Vector<LangPackLanguage>;
Parameters
| Name | Type | Description |
|---|---|---|
| LangPack | string | Platform identifier (i. e. android, tdesktop, etc). |
Returns
VectorPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | LANG_PACK_INVALID | The provided language pack is invalid. |
Gogram Example
// LangpackGetLanguages - positional arguments result, err := client.LangpackGetLanguages("...") if err != nil { // handle error } // result is *tg.Vector