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

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

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

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

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.
 

Static Public Attributes

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

Detailed Description

Describes an emoji category.

Definition at line 19650 of file td_api.h.

Constructor & Destructor Documentation

◆ emojiCategory() [1/2]

td::td_api::emojiCategory::emojiCategory ( )

Describes an emoji category.

◆ emojiCategory() [2/2]

td::td_api::emojiCategory::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 td::td_api::emojiCategory::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

◆ icon_

object_ptr<sticker> td::td_api::emojiCategory::icon_

Custom emoji sticker, which represents icon of the category.

Definition at line 19663 of file td_api.h.

◆ ID

const std::int32_t td::td_api::emojiCategory::ID = 571335919
static

Identifier uniquely determining a type of the object.

Definition at line 19685 of file td_api.h.

◆ is_greeting_

bool td::td_api::emojiCategory::is_greeting_

True, if the category must be shown first when choosing a sticker for the start page.

Definition at line 19667 of file td_api.h.

◆ name_

string td::td_api::emojiCategory::name_

Name of the category.

Definition at line 19661 of file td_api.h.

◆ source_

object_ptr<EmojiCategorySource> td::td_api::emojiCategory::source_

Source of stickers for the emoji category.

Definition at line 19665 of file td_api.h.


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