MadelineProtoDocs/old_docs/API_docs_v21/constructors/langPackLanguage.md
2020-06-16 17:50:25 +02:00

956 B

title description image
langPackLanguage Identifies a localization pack https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: langPackLanguage

Back to constructors index

Identifies a localization pack

Attributes:

Name Type Required Description
name string Yes Language name
native_name string Yes Language name in the language itself
lang_code string Yes Language code (pack identifier)

Type: LangPackLanguage

Example:

$langPackLanguage = ['_' => 'langPackLanguage', 'name' => 'string', 'native_name' => 'string', 'lang_code' => 'string'];

Or, if you're into Lua:

langPackLanguage={_='langPackLanguage', name='string', native_name='string', lang_code='string'}