TDLib
Loading...
Searching...
No Matches
updateLanguagePackStrings Class Referencefinal

Inherits Update.

Description

Some language pack strings have been updated.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 updateLanguagePackStrings ()
 updateLanguagePackStrings (string const &localization_target_, string const &language_pack_id_, array< object_ptr< languagePackString > > &&strings_)
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

string language_pack_id_
 Identifier of the updated language pack.
string localization_target_
 Localization target to which the language pack belongs.
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.

Constructor & Destructor Documentation

◆ updateLanguagePackStrings() [1/2]

updateLanguagePackStrings ( )

Some language pack strings have been updated.

◆ updateLanguagePackStrings() [2/2]

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

◆ store()

void 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 TlObject.


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