tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::advertisementSponsor Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::advertisementSponsor:
td::td_api::Object td::TlObject

Public Member Functions

 advertisementSponsor ()
 
 advertisementSponsor (string const &url_, object_ptr< photo > &&photo_, string const &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

string url_
 URL of the sponsor to be opened when the advertisement is clicked.
 
object_ptr< photophoto_
 Photo of the sponsor; may be null if must not be shown.
 
string info_
 Additional optional information about the sponsor to be shown along with the advertisement.
 

Static Public Attributes

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

Detailed Description

Information about the sponsor of an advertisement.

Definition at line 727 of file td_api.h.

Constructor & Destructor Documentation

◆ advertisementSponsor() [1/2]

td::td_api::advertisementSponsor::advertisementSponsor ( )

Information about the sponsor of an advertisement.

◆ advertisementSponsor() [2/2]

td::td_api::advertisementSponsor::advertisementSponsor ( string const &  url_,
object_ptr< photo > &&  photo_,
string const &  info_ 
)

Information about the sponsor of an advertisement.

Parameters
[in]url_URL of the sponsor to be opened when the advertisement is clicked.
[in]photo_Photo of the sponsor; may be null if must not be shown.
[in]info_Additional optional information about the sponsor to be shown along with the advertisement.

Member Function Documentation

◆ store()

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

Member Data Documentation

◆ ID

const std::int32_t td::td_api::advertisementSponsor::ID = 1388914159
static

Identifier uniquely determining a type of the object.

Definition at line 759 of file td_api.h.

◆ info_

string td::td_api::advertisementSponsor::info_

Additional optional information about the sponsor to be shown along with the advertisement.

Definition at line 742 of file td_api.h.

◆ photo_

object_ptr<photo> td::td_api::advertisementSponsor::photo_

Photo of the sponsor; may be null if must not be shown.

Definition at line 740 of file td_api.h.

◆ url_

string td::td_api::advertisementSponsor::url_

URL of the sponsor to be opened when the advertisement is clicked.

Definition at line 738 of file td_api.h.


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