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

1.2 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]];

PWRTelegram json-encoded version:

{"_": "langPackDifference", "lang_code": "string", "from_version": int, "version": int, "strings": [LangPackString]}

Or, if you're into Lua:

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