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

Inherits Object.

Description

Describes an emoji category.

Public Member Functions

 emojiCategory ()
 emojiCategory (string const &name_, object_ptr< sticker > &&icon_, object_ptr< EmojiCategorySource > &&source_, bool is_greeting_)
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

object_ptr< sticker > icon_
 Custom emoji sticker, which represents icon of the category.
bool is_greeting_
 True, if the category must be shown first when choosing a sticker for the start page.
string name_
 Name of the category.
object_ptr< EmojiCategorySource > source_
 Source of stickers for the emoji category.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ emojiCategory() [1/2]

emojiCategory ( )

Describes an emoji category.

◆ emojiCategory() [2/2]

emojiCategory ( string const & name_,
object_ptr< sticker > && icon_,
object_ptr< EmojiCategorySource > && source_,
bool is_greeting_ )

Describes an emoji category.

Parameters
[in]name_Name of the category.
[in]icon_Custom emoji sticker, which represents icon of the category.
[in]source_Source of stickers for the emoji category.
[in]is_greeting_True, if the category must be shown first when choosing a sticker for the start page.

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: