LangPackStringPluralized

class pyrogram.raw.types.LangPackStringPluralized

A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more info

Constructor of LangPackString.

Details:
  • Layer: 187

  • ID: 6C47AC9F

Parameters:
  • key (str) – Localization key

  • other_value (str) – Default value

  • zero_value (str, optional) – Value for zero objects

  • one_value (str, optional) – Value for one object

  • two_value (str, optional) – Value for two objects

  • few_value (str, optional) – Value for a few objects

  • many_value (str, optional) – Value for many objects

Functions:

This object can be returned by 1 function.

langpack.GetStrings

Get strings from a language pack