tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::languagePackStringValuePluralized Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::languagePackStringValuePluralized:
td::td_api::LanguagePackStringValue td::td_api::Object td::TlObject

Public Member Functions

 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_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

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 Public Attributes

static const std::int32_t ID = 1906840261
 Identifier uniquely determining a type of the object.
 

Detailed Description

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.

Definition at line 35776 of file td_api.h.

Constructor & Destructor Documentation

◆ languagePackStringValuePluralized() [1/2]

td::td_api::languagePackStringValuePluralized::languagePackStringValuePluralized ( )

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() [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.

Member Function Documentation

◆ 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ few_value_

string td::td_api::languagePackStringValuePluralized::few_value_

Value for few objects.

Definition at line 35793 of file td_api.h.

◆ ID

const std::int32_t td::td_api::languagePackStringValuePluralized::ID = 1906840261
static

Identifier uniquely determining a type of the object.

Definition at line 35817 of file td_api.h.

◆ many_value_

string td::td_api::languagePackStringValuePluralized::many_value_

Value for many objects.

Definition at line 35795 of file td_api.h.

◆ one_value_

string td::td_api::languagePackStringValuePluralized::one_value_

Value for one object.

Definition at line 35789 of file td_api.h.

◆ other_value_

string td::td_api::languagePackStringValuePluralized::other_value_

Default value.

Definition at line 35797 of file td_api.h.

◆ two_value_

string td::td_api::languagePackStringValuePluralized::two_value_

Value for two objects.

Definition at line 35791 of file td_api.h.

◆ zero_value_

string td::td_api::languagePackStringValuePluralized::zero_value_

Value for zero objects.

Definition at line 35787 of file td_api.h.


The documentation for this class was generated from the following file: