MadelineProtoDocs/docs/API_docs/constructors/langPackDifference.md
2019-12-27 17:48:04 +01:00

1.1 KiB

title description image
langPackDifference Changes to the app's localization pack https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: langPackDifference

Back to constructors index

Changes to the app's localization pack

Attributes:

Name Type Required Description
lang_code string Yes Language code
from_version int Yes Previous version number
version int Yes New version number
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}}