AnimatedEmoji class

Describes an animated or custom representation of an emoji.

Inheritance
Available Extensions

Constructors

AnimatedEmoji({Sticker? sticker, required int sticker_width, required int sticker_height, required int fitzpatrick_type, File? sound, int? extra, int? clientId})
Describes an animated or custom representation of an emoji

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
fitzpatrick_type int
Emoji modifier fitzpatrick type; 0-6; 0 if none.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sound File?
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.
read / write
sticker Sticker?
Sticker for the emoji; may be null if yet unknown for a custom emoji. If the sticker is a custom emoji, it can have arbitrary format different from stickerFormatTgs.
read / write
sticker_height int
Expected height of the sticker, which can be used if the sticker is null.
read / write
sticker_width int
Expected width of the sticker, which can be used if the sticker is null.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) AnimatedEmoji?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"animatedEmoji"