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

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

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

Public Member Functions

 sticker ()
 
 sticker (int64 id_, int64 set_id_, int32 width_, int32 height_, string const &emoji_, object_ptr< StickerFormat > &&format_, object_ptr< StickerFullType > &&full_type_, object_ptr< thumbnail > &&thumbnail_, object_ptr< file > &&sticker_)
 
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

int64 id_
 Unique sticker identifier within the set; 0 if none.
 
int64 set_id_
 Identifier of the sticker set to which the sticker belongs; 0 if none.
 
int32 width_
 Sticker width; as defined by the sender.
 
int32 height_
 Sticker height; as defined by the sender.
 
string emoji_
 Emoji corresponding to the sticker; may be empty if unknown.
 
object_ptr< StickerFormatformat_
 Sticker format.
 
object_ptr< StickerFullTypefull_type_
 Sticker&#x27;s full type.
 
object_ptr< thumbnailthumbnail_
 Sticker thumbnail in WEBP or JPEG format; may be null.
 
object_ptr< filesticker_
 File containing the sticker.
 

Static Public Attributes

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

Detailed Description

Describes a sticker.

Definition at line 67196 of file td_api.h.

Constructor & Destructor Documentation

◆ sticker() [1/2]

td::td_api::sticker::sticker ( )

Describes a sticker.

◆ sticker() [2/2]

td::td_api::sticker::sticker ( int64  id_,
int64  set_id_,
int32  width_,
int32  height_,
string const &  emoji_,
object_ptr< StickerFormat > &&  format_,
object_ptr< StickerFullType > &&  full_type_,
object_ptr< thumbnail > &&  thumbnail_,
object_ptr< file > &&  sticker_ 
)

Describes a sticker.

Parameters
[in]id_Unique sticker identifier within the set; 0 if none.
[in]set_id_Identifier of the sticker set to which the sticker belongs; 0 if none.
[in]width_Sticker width; as defined by the sender.
[in]height_Sticker height; as defined by the sender.
[in]emoji_Emoji corresponding to the sticker; may be empty if unknown.
[in]format_Sticker format.
[in]full_type_Sticker&#x27;s full type.
[in]thumbnail_Sticker thumbnail in WEBP or JPEG format; may be null.
[in]sticker_File containing the sticker.

Member Function Documentation

◆ store()

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

◆ emoji_

string td::td_api::sticker::emoji_

Emoji corresponding to the sticker; may be empty if unknown.

Definition at line 67215 of file td_api.h.

◆ format_

object_ptr<StickerFormat> td::td_api::sticker::format_

Sticker format.

Definition at line 67217 of file td_api.h.

◆ full_type_

object_ptr<StickerFullType> td::td_api::sticker::full_type_

Sticker&#x27;s full type.

Definition at line 67219 of file td_api.h.

◆ height_

int32 td::td_api::sticker::height_

Sticker height; as defined by the sender.

Definition at line 67213 of file td_api.h.

◆ ID

const std::int32_t td::td_api::sticker::ID = -647013057
static

Identifier uniquely determining a type of the object.

Definition at line 67246 of file td_api.h.

◆ id_

int64 td::td_api::sticker::id_

Unique sticker identifier within the set; 0 if none.

Definition at line 67207 of file td_api.h.

◆ set_id_

int64 td::td_api::sticker::set_id_

Identifier of the sticker set to which the sticker belongs; 0 if none.

Definition at line 67209 of file td_api.h.

◆ sticker_

object_ptr<file> td::td_api::sticker::sticker_

File containing the sticker.

Definition at line 67223 of file td_api.h.

◆ thumbnail_

object_ptr<thumbnail> td::td_api::sticker::thumbnail_

Sticker thumbnail in WEBP or JPEG format; may be null.

Definition at line 67221 of file td_api.h.

◆ width_

int32 td::td_api::sticker::width_

Sticker width; as defined by the sender.

Definition at line 67211 of file td_api.h.


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