MadelineProtoDocs/docs/API_docs/constructors/langPackLanguage.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

2.0 KiB

title description image
langPackLanguage Lang pack language https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: langPackLanguage

Back to constructors index

Lang pack language

Attributes:

Name Type Required Description
official Bool Optional Official?
rtl Bool Optional Rtl?
beta Bool Optional Beta?
name string Yes Name
native_name string Yes Native name
lang_code string Yes Lang code
base_lang_code string Optional Base lang code
plural_code string Yes Plural code
strings_count int Yes Strings count
translated_count int Yes Translated count
translations_url string Yes Translations URL

Type: LangPackLanguage

Example:

$langPackLanguage = ['_' => 'langPackLanguage', 'official' => Bool, 'rtl' => Bool, 'beta' => Bool, 'name' => 'string', 'native_name' => 'string', 'lang_code' => 'string', 'base_lang_code' => 'string', 'plural_code' => 'string', 'strings_count' => int, 'translated_count' => int, 'translations_url' => 'string'];

PWRTelegram json-encoded version:

{"_": "langPackLanguage", "official": Bool, "rtl": Bool, "beta": Bool, "name": "string", "native_name": "string", "lang_code": "string", "base_lang_code": "string", "plural_code": "string", "strings_count": int, "translated_count": int, "translations_url": "string"}

Or, if you're into Lua:

langPackLanguage={_='langPackLanguage', official=Bool, rtl=Bool, beta=Bool, name='string', native_name='string', lang_code='string', base_lang_code='string', plural_code='string', strings_count=int, translated_count=int, translations_url='string'}