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

Inherits Object.

Description

Describes an animated representation of an emoji.

Public Fields

object_ptr< stickersticker_
 Animated sticker for the emoji.
 
int32 fitzpatrick_type_
 Emoji modifier fitzpatrick type; 0-6; 0 if none.
 
object_ptr< filesound_
 File containing the sound to be played when the animated emoji is clicked if any; may be null. The sound is encoded with the Opus codec, and stored inside an OGG container.
 

Public Instance Methods

 animatedEmoji ()
 
 animatedEmoji (object_ptr< sticker > &&sticker_, int32 fitzpatrick_type_, object_ptr< file > &&sound_)
 
std::int32_t get_id () const final
 
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 = -1816658231
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ animatedEmoji() [1/2]

Describes an animated representation of an emoji.

◆ animatedEmoji() [2/2]

animatedEmoji ( object_ptr< sticker > &&  sticker_,
int32  fitzpatrick_type_,
object_ptr< file > &&  sound_ 
)

Describes an animated representation of an emoji.

Parameters
[in]sticker_Animated sticker for the emoji.
[in]fitzpatrick_type_Emoji modifier fitzpatrick type; 0-6; 0 if none.
[in]sound_File containing the sound to be played when the animated emoji is clicked if any; may be null. The sound is encoded with the Opus codec, and stored inside an OGG container.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

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