TDLib
Loading...
Searching...
No Matches
td::td_api::updateLanguagePackStrings Class Referencefinal

Inherits td::td_api::Update.

Public Member Functions

 updateLanguagePackStrings ()
 
 updateLanguagePackStrings (string const &localization_target_, string const &language_pack_id_, array< object_ptr< languagePackString > > &&strings_)
 
std::int32_t get_id () const final
 
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 localization_target_
 Localization target to which the language pack belongs.
 
string language_pack_id_
 Identifier of the updated language pack.
 
array< object_ptr< languagePackString > > strings_
 List of changed language pack strings; empty if all strings have changed.
 

Static Public Attributes

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

Detailed Description

Some language pack strings have been updated.

Constructor & Destructor Documentation

◆ updateLanguagePackStrings() [1/2]

td::td_api::updateLanguagePackStrings::updateLanguagePackStrings ( )

Some language pack strings have been updated.

◆ updateLanguagePackStrings() [2/2]

td::td_api::updateLanguagePackStrings::updateLanguagePackStrings ( string const &  localization_target_,
string const &  language_pack_id_,
array< object_ptr< languagePackString > > &&  strings_ 
)

Some language pack strings have been updated.

Parameters
[in]localization_target_Localization target to which the language pack belongs.
[in]language_pack_id_Identifier of the updated language pack.
[in]strings_List of changed language pack strings; empty if all strings have changed.

Member Function Documentation

◆ get_id()

std::int32_t td::td_api::updateLanguagePackStrings::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

void td::td_api::updateLanguagePackStrings::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.


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