List of all members | Public Fields | Public Instance Methods | Static Public Attributes
emojiCategory Class Referencefinal

Inherits Object.

Description

Describes an emoji category.

Public Fields

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

Public Instance Methods

 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 Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ emojiCategory() [1/2]

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.

Method 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: