Inherits Object.
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 |
![]() | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -325763489 |
Identifier uniquely determining a type of the object. | |
sponsoredChat | ( | ) |
Describes a sponsored chat.
sponsoredChat | ( | int53 | unique_id_, |
int53 | chat_id_, | ||
string const & | sponsor_info_, | ||
string const & | additional_info_ | ||
) |
Describes a sponsored chat.
[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. |
|
finalvirtual |