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 type of LangPackString.

Details
  • Layer: 126

  • ID: 0x6c47ac9f

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.

Methods

This object can be returned by 1 method:

langpack.GetStrings

Get strings from a language pack.