get_strings()¶
- async Client.get_strings()¶
Get strings from a language pack.
Usable by Users Bots- Parameters:
lang_pack (
str) – Platform identifier (i.e.android,tdesktop, etc).lang_code (
str) – Either an ISO 639-1 language code or a language pack name.keys (List of
str) – Strings keys to get.
- Returns:
List of
LangPackString– List of language pack strings.
Example
strings = await app.get_strings("android", "en", ["key1", "key2"])