LangPackDifference

class pyrogram.raw.types.LangPackDifference

Changes to the app’s localization pack.

Constructor type of LangPackDifference.

Details
  • Layer: 126

  • ID: 0xf385c1f6

Parameters
  • lang_code (str) – Language code.

  • from_version (int 32-bit) – Previous version number.

  • version (int 32-bit) – New version number.

  • strings (List of LangPackString) – Localized strings.

Methods

This object can be returned by 2 methods:

langpack.GetLangPack

Get localization pack strings.

langpack.GetDifference

Get new strings in languagepack.