AnimatedEmoji class

Describes an animated or custom representation of an emoji

Inheritance

Constructors

AnimatedEmoji({String? extra, int? client_id, Sticker? sticker, int32? sticker_width, int32? sticker_height, int32? fitzpatrick_type, File? sound})
AnimatedEmoji.fromMap(Map<String, dynamic> map)

Properties

client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
fitzpatrick_type int32?
Emoji modifier fitzpatrick type; 0-6; 0 if none
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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
getter/setter pair
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
getter/setter pair
sticker_height int32?
Expected height of the sticker, which can be used if the sticker is null
getter/setter pair
sticker_width int32?
Expected width of the sticker, which can be used if the sticker is null
getter/setter pair
tdType String
JSON object type; maps to the field @type.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

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