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

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

Inheritance diagram for td::td_api::inputMessageSticker:
td::td_api::InputMessageContent td::td_api::Object td::TlObject

Public Member Functions

 inputMessageSticker ()
 
 inputMessageSticker (object_ptr< InputFile > &&sticker_, object_ptr< inputThumbnail > &&thumbnail_, int32 width_, int32 height_, string const &emoji_)
 
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

object_ptr< InputFilesticker_
 Sticker to be sent.
 
object_ptr< inputThumbnailthumbnail_
 Sticker thumbnail; pass null to skip thumbnail uploading.
 
int32 width_
 Sticker width.
 
int32 height_
 Sticker height.
 
string emoji_
 Emoji used to choose the sticker.
 

Static Public Attributes

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

Detailed Description

A sticker message.

Definition at line 29307 of file td_api.h.

Constructor & Destructor Documentation

◆ inputMessageSticker() [1/2]

td::td_api::inputMessageSticker::inputMessageSticker ( )

A sticker message.

◆ inputMessageSticker() [2/2]

td::td_api::inputMessageSticker::inputMessageSticker ( object_ptr< InputFile > &&  sticker_,
object_ptr< inputThumbnail > &&  thumbnail_,
int32  width_,
int32  height_,
string const &  emoji_ 
)

A sticker message.

Parameters
[in]sticker_Sticker to be sent.
[in]thumbnail_Sticker thumbnail; pass null to skip thumbnail uploading.
[in]width_Sticker width.
[in]height_Sticker height.
[in]emoji_Emoji used to choose the sticker.

Member Function Documentation

◆ store()

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

Emoji used to choose the sticker.

Definition at line 29326 of file td_api.h.

◆ height_

int32 td::td_api::inputMessageSticker::height_

Sticker height.

Definition at line 29324 of file td_api.h.

◆ ID

const std::int32_t td::td_api::inputMessageSticker::ID = 1072805625
static

Identifier uniquely determining a type of the object.

Definition at line 29345 of file td_api.h.

◆ sticker_

object_ptr<InputFile> td::td_api::inputMessageSticker::sticker_

Sticker to be sent.

Definition at line 29318 of file td_api.h.

◆ thumbnail_

object_ptr<inputThumbnail> td::td_api::inputMessageSticker::thumbnail_

Sticker thumbnail; pass null to skip thumbnail uploading.

Definition at line 29320 of file td_api.h.

◆ width_

int32 td::td_api::inputMessageSticker::width_

Sticker width.

Definition at line 29322 of file td_api.h.


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