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::giftBackground Class Referencefinal

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

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

Public Member Functions

 giftBackground ()
 
 giftBackground (int32 center_color_, int32 edge_color_, int32 text_color_)
 
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

int32 center_color_
 Center color in RGB format.
 
int32 edge_color_
 Edge color in RGB format.
 
int32 text_color_
 Text color in RGB format.
 

Static Public Attributes

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

Detailed Description

Describes background of a gift.

Definition at line 23109 of file td_api.h.

Constructor & Destructor Documentation

◆ giftBackground() [1/2]

td::td_api::giftBackground::giftBackground ( )

Describes background of a gift.

◆ giftBackground() [2/2]

td::td_api::giftBackground::giftBackground ( int32  center_color_,
int32  edge_color_,
int32  text_color_ 
)

Describes background of a gift.

Parameters
[in]center_color_Center color in RGB format.
[in]edge_color_Edge color in RGB format.
[in]text_color_Text color in RGB format.

Member Function Documentation

◆ store()

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

◆ center_color_

int32 td::td_api::giftBackground::center_color_

Center color in RGB format.

Definition at line 23120 of file td_api.h.

◆ edge_color_

int32 td::td_api::giftBackground::edge_color_

Edge color in RGB format.

Definition at line 23122 of file td_api.h.

◆ ID

const std::int32_t td::td_api::giftBackground::ID = 269232091
static

Identifier uniquely determining a type of the object.

Definition at line 23141 of file td_api.h.

◆ text_color_

int32 td::td_api::giftBackground::text_color_

Text color in RGB format.

Definition at line 23124 of file td_api.h.


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