Layer 220
LangpackGetDifference
Get new strings in language pack
method
Users
langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference;
Parameters
| Name | Type | Description |
|---|---|---|
| LangPack | string | Platform identifier (i. e. android, tdesktop, etc). |
| LangCode | string | Either an ISO 639-1 language code or a language pack name obtained from a language pack link. |
| FromVersion | int | Previous localization pack version |
Returns
LangPackDifferencePossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | LANG_PACK_INVALID | The provided language pack is invalid. |
Gogram Example
// LangpackGetDifference - positional arguments result, err := client.LangpackGetDifference("...", "...", 0) if err != nil { // handle error } // result is *tg.LangPackDifference