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

Inherits Object.

Description

Contains information about an emoji reaction.

Public Fields

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.
 

Public Instance Methods

 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 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 = 1616063583
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ emojiReaction() [1/2]

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.

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: