MadelineProtoDocs/old_docs/API_docs_v103/constructors/langPackDifference.md
2019-08-15 20:25:16 +02:00

1.0 KiB

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

Constructor: langPackDifference

Back to constructors index

Lang pack difference

Attributes:

Name Type Required Description
lang_code string Yes Lang code
from_version int Yes From version
version int Yes Version
strings Array of LangPackString Yes Strings

Type: LangPackDifference

Example:

$langPackDifference = ['_' => 'langPackDifference', 'lang_code' => 'string', 'from_version' => int, 'version' => int, 'strings' => [LangPackString, LangPackString]];

Or, if you're into Lua:

langPackDifference={_='langPackDifference', lang_code='string', from_version=int, version=int, strings={LangPackString}}