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

Inherits Object.

Description

Contains information about an emoji reaction.

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

Static Public Attributes

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

Constructor & Destructor Documentation

◆ emojiReaction() [1/2]

emojiReaction ( )

Contains information about an emoji reaction.

◆ emojiReaction() [2/2]

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