Layer 224
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

Gogram Example

// LangpackGetDifference - positional arguments
result, err := client.LangpackGetDifference("Hello, World!", "Hello, World!", 42)
if err != nil {
    // handle error
}
// result is *tg.LangPackDifference

Possible Errors

Code Type Description
400 LANG_PACK_INVALID The provided language pack is invalid.