LangPackDifference#

class pyrogram.raw.types.LangPackDifference#

Changes to the app’s localization pack.

Constructor of LangPackDifference.

Details:
  • Layer: 158

  • ID: F385C1F6

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.

Functions:

This object can be returned by 2 functions.

langpack.GetLangPack

Get localization pack strings.

langpack.GetDifference

Get new strings in language pack.