List of all members | Public Fields | Public Instance Methods | Static Public Attributes
sponsoredChat Class Referencefinal

Inherits Object.

Description

Describes a sponsored chat.

Public Fields

int53 unique_id_
 Unique identifier of this result.
 
int53 chat_id_
 Chat identifier.
 
string sponsor_info_
 Additional optional information about the sponsor to be shown along with the chat.
 
string additional_info_
 If non-empty, additional information about the sponsored chat to be shown along with the chat.
 

Public Instance Methods

 sponsoredChat ()
 
 sponsoredChat (int53 unique_id_, int53 chat_id_, string const &sponsor_info_, string const &additional_info_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ sponsoredChat() [1/2]

Describes a sponsored chat.

◆ sponsoredChat() [2/2]

sponsoredChat ( int53  unique_id_,
int53  chat_id_,
string const &  sponsor_info_,
string const &  additional_info_ 
)

Describes a sponsored chat.

Parameters
[in]unique_id_Unique identifier of this result.
[in]chat_id_Chat identifier.
[in]sponsor_info_Additional optional information about the sponsor to be shown along with the chat.
[in]additional_info_If non-empty, additional information about the sponsored chat to be shown along with the chat.

Method 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: