MadelineProtoDocs/docs/API_docs/constructors/langPackDifference.md
2024-05-01 14:53:46 +02:00

1.0 KiB

title description nav_exclude image
langPackDifference Changes to the app's localization pack true 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 Localized strings

Type: LangPackDifference

Example:

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