get_language()¶
- async Client.get_language()¶
Get information about a language in a localization 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.
- Returns:
LangPackLanguage– The language info.
Example
lang = await app.get_language("android", "en")