TDLib
Loading...
Searching...
No Matches
td::td_api::emojiReaction Class Referencefinal

Inherits td::td_api::Object.

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_)
 
std::int32_t get_id () const final
 
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 a emoji reaction.

Constructor & Destructor Documentation

◆ emojiReaction() [1/2]

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

Contains information about a 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 a 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

◆ get_id()

std::int32_t td::td_api::emojiReaction::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

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


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