TDLib
Loading...
Searching...
No Matches
td::td_api::sponsoredMessage Class Referencefinal
Inheritance diagram for td::td_api::sponsoredMessage:
td::td_api::Object td::TlObject

Public Member Functions

 sponsoredMessage (int53 message_id_, bool is_recommended_, bool can_be_reported_, object_ptr< MessageContent > &&content_, object_ptr< advertisementSponsor > &&sponsor_, string const &title_, string const &button_text_, int32 accent_color_id_, int64 background_custom_emoji_id_, string const &additional_info_)
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

int53 message_id_
bool is_recommended_
bool can_be_reported_
object_ptr< MessageContentcontent_
object_ptr< advertisementSponsorsponsor_
string title_
string button_text_
int32 accent_color_id_
int64 background_custom_emoji_id_
string additional_info_

Static Public Attributes

static const std::int32_t ID = 1521782216

Member Function Documentation

◆ store()

void td::td_api::sponsoredMessage::store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

Helper function for the to_string method. Appends a string representation of the object to the storer.

Parameters
[in]sStorer to which the 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: