Inherits Object.
Describes an animated or custom representation of an emoji.
Public Fields | |
object_ptr< sticker > | sticker_ |
Sticker for the emoji; may be null if yet unknown for a custom emoji. If the sticker is a custom emoji, then it can have arbitrary format. | |
int32 | sticker_width_ |
Expected width of the sticker, which can be used if the sticker is null. | |
int32 | sticker_height_ |
Expected height of the sticker, which can be used if the sticker is null. | |
int32 | fitzpatrick_type_ |
Emoji modifier fitzpatrick type; 0-6; 0 if none. | |
object_ptr< file > | sound_ |
File containing the sound to be played when the sticker is clicked; 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 sticker_width_, int32 sticker_height_, int32 fitzpatrick_type_, object_ptr< file > &&sound_) | |
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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 1378918079 |
Identifier uniquely determining a type of the object. | |
animatedEmoji | ( | ) |
Describes an animated or custom representation of an emoji.
animatedEmoji | ( | object_ptr< sticker > && | sticker_, |
int32 | sticker_width_, | ||
int32 | sticker_height_, | ||
int32 | fitzpatrick_type_, | ||
object_ptr< file > && | sound_ | ||
) |
Describes an animated or custom representation of an emoji.
[in] | sticker_ | Sticker for the emoji; may be null if yet unknown for a custom emoji. If the sticker is a custom emoji, then it can have arbitrary format. |
[in] | sticker_width_ | Expected width of the sticker, which can be used if the sticker is null. |
[in] | sticker_height_ | Expected height of the sticker, which can be used if the sticker is null. |
[in] | fitzpatrick_type_ | Emoji modifier fitzpatrick type; 0-6; 0 if none. |
[in] | sound_ | File containing the sound to be played when the sticker is clicked; may be null. The sound is encoded with the Opus codec, and stored inside an OGG container. |
|
finalvirtual |