langpack.getStrings #

Get strings from a language pack

Layer 223

---functions---
langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector<string> = Vector<LangPackString>;

Parameters #

NameTypeDescription
lang_packstringPlatform identifier (i.e. android, tdesktop, etc).
lang_codestringEither an ISO 639-1 language code or a language pack name obtained from a language pack link.
keysVector<string>Strings to get

Result #

Vector<LangPackString>

Only users can use this method #

This method can be invoked over an unauthenticated connection » #

Possible errors #

CodeTypeDescription
400LANG_CODE_NOT_SUPPORTEDThe specified language code is not supported.
400LANG_PACK_INVALIDThe provided language pack is invalid.

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