TDLib
Loading...
Searching...
No Matches
td::td_api::getAllStickerEmojis Class Referencefinal

Inherits td::td_api::Function.

Public Types

using ReturnType = object_ptr< emojis >
 Typedef for the type returned by the function.
 

Public Member Functions

 getAllStickerEmojis ()
 
 getAllStickerEmojis (object_ptr< StickerType > &&sticker_type_, string const &query_, int53 chat_id_, bool return_only_main_emoji_)
 
std::int32_t get_id () const final
 
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< StickerTypesticker_type_
 Type of the stickers to search for.
 
string query_
 Search query.
 
int53 chat_id_
 Chat identifier for which to find stickers.
 
bool return_only_main_emoji_
 Pass true if only main emoji for each found sticker must be included in the result.
 

Static Public Attributes

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

Detailed Description

Returns unique emoji that correspond to stickers to be found by the getStickers(sticker_type, query, 1000000, chat_id).

Returns object_ptr<Emojis>.

Constructor & Destructor Documentation

◆ getAllStickerEmojis() [1/2]

td::td_api::getAllStickerEmojis::getAllStickerEmojis ( )

Default constructor for a function, which returns unique emoji that correspond to stickers to be found by the getStickers(sticker_type, query, 1000000, chat_id).

Returns object_ptr<Emojis>.

◆ getAllStickerEmojis() [2/2]

td::td_api::getAllStickerEmojis::getAllStickerEmojis ( object_ptr< StickerType > &&  sticker_type_,
string const &  query_,
int53  chat_id_,
bool  return_only_main_emoji_ 
)

Creates a function, which returns unique emoji that correspond to stickers to be found by the getStickers(sticker_type, query, 1000000, chat_id).

Returns object_ptr<Emojis>.

Parameters
[in]sticker_type_Type of the stickers to search for.
[in]query_Search query.
[in]chat_id_Chat identifier for which to find stickers.
[in]return_only_main_emoji_Pass true if only main emoji for each found sticker must be included in the result.

Member Function Documentation

◆ get_id()

std::int32_t td::td_api::getAllStickerEmojis::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

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


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