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

823 B

title description image
updateLangPack Update lang pack https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateLangPack

Back to constructors index

Update lang pack

Attributes:

Name Type Required Description
difference LangPackDifference Yes Difference

Type: Update

Example:

$updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference];

PWRTelegram json-encoded version:

{"_": "updateLangPack", "difference": LangPackDifference}

Or, if you're into Lua:

updateLangPack={_='updateLangPack', difference=LangPackDifference}