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

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

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

Public Member Functions

 emojiReaction ()
 
 emojiReaction (string const &emoji_, string const &title_, bool is_active_, object_ptr< sticker > &&static_icon_, object_ptr< sticker > &&appear_animation_, object_ptr< sticker > &&select_animation_, object_ptr< sticker > &&activate_animation_, object_ptr< sticker > &&effect_animation_, object_ptr< sticker > &&around_animation_, object_ptr< sticker > &&center_animation_)
 
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 emoji_
 Text representation of the reaction.
 
string title_
 Reaction title.
 
bool is_active_
 True, if the reaction can be added to new messages and enabled in chats.
 
object_ptr< stickerstatic_icon_
 Static icon for the reaction.
 
object_ptr< stickerappear_animation_
 Appear animation for the reaction.
 
object_ptr< stickerselect_animation_
 Select animation for the reaction.
 
object_ptr< stickeractivate_animation_
 Activate animation for the reaction.
 
object_ptr< stickereffect_animation_
 Effect animation for the reaction.
 
object_ptr< stickeraround_animation_
 Around animation for the reaction; may be null.
 
object_ptr< stickercenter_animation_
 Center animation for the reaction; may be null.
 

Static Public Attributes

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

Detailed Description

Contains information about an emoji reaction.

Definition at line 20035 of file td_api.h.

Constructor & Destructor Documentation

◆ emojiReaction() [1/2]

td::td_api::emojiReaction::emojiReaction ( )

Contains information about an emoji reaction.

◆ emojiReaction() [2/2]

td::td_api::emojiReaction::emojiReaction ( string const &  emoji_,
string const &  title_,
bool  is_active_,
object_ptr< sticker > &&  static_icon_,
object_ptr< sticker > &&  appear_animation_,
object_ptr< sticker > &&  select_animation_,
object_ptr< sticker > &&  activate_animation_,
object_ptr< sticker > &&  effect_animation_,
object_ptr< sticker > &&  around_animation_,
object_ptr< sticker > &&  center_animation_ 
)

Contains information about an emoji reaction.

Parameters
[in]emoji_Text representation of the reaction.
[in]title_Reaction title.
[in]is_active_True, if the reaction can be added to new messages and enabled in chats.
[in]static_icon_Static icon for the reaction.
[in]appear_animation_Appear animation for the reaction.
[in]select_animation_Select animation for the reaction.
[in]activate_animation_Activate animation for the reaction.
[in]effect_animation_Effect animation for the reaction.
[in]around_animation_Around animation for the reaction; may be null.
[in]center_animation_Center animation for the reaction; may be null.

Member Function Documentation

◆ store()

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

◆ activate_animation_

object_ptr<sticker> td::td_api::emojiReaction::activate_animation_

Activate animation for the reaction.

Definition at line 20058 of file td_api.h.

◆ appear_animation_

object_ptr<sticker> td::td_api::emojiReaction::appear_animation_

Appear animation for the reaction.

Definition at line 20054 of file td_api.h.

◆ around_animation_

object_ptr<sticker> td::td_api::emojiReaction::around_animation_

Around animation for the reaction; may be null.

Definition at line 20062 of file td_api.h.

◆ center_animation_

object_ptr<sticker> td::td_api::emojiReaction::center_animation_

Center animation for the reaction; may be null.

Definition at line 20064 of file td_api.h.

◆ effect_animation_

object_ptr<sticker> td::td_api::emojiReaction::effect_animation_

Effect animation for the reaction.

Definition at line 20060 of file td_api.h.

◆ emoji_

string td::td_api::emojiReaction::emoji_

Text representation of the reaction.

Definition at line 20046 of file td_api.h.

◆ ID

const std::int32_t td::td_api::emojiReaction::ID = 1616063583
static

Identifier uniquely determining a type of the object.

Definition at line 20088 of file td_api.h.

◆ is_active_

bool td::td_api::emojiReaction::is_active_

True, if the reaction can be added to new messages and enabled in chats.

Definition at line 20050 of file td_api.h.

◆ select_animation_

object_ptr<sticker> td::td_api::emojiReaction::select_animation_

Select animation for the reaction.

Definition at line 20056 of file td_api.h.

◆ static_icon_

object_ptr<sticker> td::td_api::emojiReaction::static_icon_

Static icon for the reaction.

Definition at line 20052 of file td_api.h.

◆ title_

string td::td_api::emojiReaction::title_

Reaction title.

Definition at line 20048 of file td_api.h.


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