Inherits td::td_api::LanguagePackStringValue.
|
string | zero_value_ |
| Value for zero objects.
|
|
string | one_value_ |
| Value for one object.
|
|
string | two_value_ |
| Value for two objects.
|
|
string | few_value_ |
| Value for few objects.
|
|
string | many_value_ |
| Value for many objects.
|
|
string | other_value_ |
| Default value.
|
|
|
static const std::int32_t | ID = 1906840261 |
| Identifier uniquely determining a type of the object.
|
|
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 information.
◆ languagePackStringValuePluralized() [1/2]
td::td_api::languagePackStringValuePluralized::languagePackStringValuePluralized |
( |
| ) |
|
◆ languagePackStringValuePluralized() [2/2]
td::td_api::languagePackStringValuePluralized::languagePackStringValuePluralized |
( |
string const & |
zero_value_, |
|
|
string const & |
one_value_, |
|
|
string const & |
two_value_, |
|
|
string const & |
few_value_, |
|
|
string const & |
many_value_, |
|
|
string const & |
other_value_ |
|
) |
| |
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 information.
- Parameters
-
[in] | zero_value_ | Value for zero objects. |
[in] | one_value_ | Value for one object. |
[in] | two_value_ | Value for two objects. |
[in] | few_value_ | Value for few objects. |
[in] | many_value_ | Value for many objects. |
[in] | other_value_ | Default value. |
◆ get_id()
std::int32_t td::td_api::languagePackStringValuePluralized::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::languagePackStringValuePluralized::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: