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

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

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

Public Member Functions

 inputSticker ()
 
 inputSticker (object_ptr< InputFile > &&sticker_, object_ptr< StickerFormat > &&format_, string const &emojis_, object_ptr< maskPosition > &&mask_position_, array< string > &&keywords_)
 
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_
 File with the sticker; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements.
 
object_ptr< StickerFormatformat_
 Format of the sticker.
 
string emojis_
 String with 1-20 emoji corresponding to the sticker.
 
object_ptr< maskPositionmask_position_
 Position where the mask is placed; pass null if not specified.
 
array< stringkeywords_
 List of up to 20 keywords with total length up to 64 characters, which can be used to find the sticker.
 

Static Public Attributes

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

Detailed Description

A sticker to be added to a sticker set.

Definition at line 31496 of file td_api.h.

Constructor & Destructor Documentation

◆ inputSticker() [1/2]

td::td_api::inputSticker::inputSticker ( )

A sticker to be added to a sticker set.

◆ inputSticker() [2/2]

td::td_api::inputSticker::inputSticker ( object_ptr< InputFile > &&  sticker_,
object_ptr< StickerFormat > &&  format_,
string const &  emojis_,
object_ptr< maskPosition > &&  mask_position_,
array< string > &&  keywords_ 
)

A sticker to be added to a sticker set.

Parameters
[in]sticker_File with the sticker; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements.
[in]format_Format of the sticker.
[in]emojis_String with 1-20 emoji corresponding to the sticker.
[in]mask_position_Position where the mask is placed; pass null if not specified.
[in]keywords_List of up to 20 keywords with total length up to 64 characters, which can be used to find the sticker.

Member Function Documentation

◆ store()

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

◆ emojis_

string td::td_api::inputSticker::emojis_

String with 1-20 emoji corresponding to the sticker.

Definition at line 31511 of file td_api.h.

◆ format_

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

Format of the sticker.

Definition at line 31509 of file td_api.h.

◆ ID

const std::int32_t td::td_api::inputSticker::ID = 1589392402
static

Identifier uniquely determining a type of the object.

Definition at line 31534 of file td_api.h.

◆ keywords_

array<string> td::td_api::inputSticker::keywords_

List of up to 20 keywords with total length up to 64 characters, which can be used to find the sticker.

Definition at line 31515 of file td_api.h.

◆ mask_position_

object_ptr<maskPosition> td::td_api::inputSticker::mask_position_

Position where the mask is placed; pass null if not specified.

Definition at line 31513 of file td_api.h.

◆ sticker_

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

File with the sticker; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements.

Definition at line 31507 of file td_api.h.


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