TDLib
Loading...
Searching...
No Matches
getAllStickerEmojis Class Referencefinal

Inherits Function.

Description

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

Returns object_ptr<Emojis>.

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_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

int53 chat_id_
 Chat identifier for which to find stickers.
string query_
 Search query.
bool return_only_main_emoji_
 Pass true if only main emoji for each found sticker must be included in the result.
object_ptr< StickerType > sticker_type_
 Type of the stickers to search for.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ getAllStickerEmojis() [1/2]

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]

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

◆ store()

void 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 TlObject.


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