langpack.GetDifference

class pyrogram.raw.functions.langpack.GetDifference

Get new strings in language pack

Details:
  • Layer: 223

  • ID: CD984AA5

Parameters:
  • lang_pack (str) – Platform identifier (i.e. android, tdesktop, etc).

  • lang_code (str) – Either an ISO 639-1 language code or a language pack name obtained from a language pack link.

  • from_version (int 32-bit) – Previous localization pack version

Returns:

LangPackDifference

TL Schema

langpack.getDifference#cd984aa5
lang_pack:string
lang_code:string
from_version:int

= LangPackDifference

Parameter Tree

GetDifference
├── lang_packstring
├── lang_codestring
└── from_versionint

Example

await app.invoke(
    GetDifference(
        lang_pack="text",
        lang_code="text",
        from_version=0,
    )
)