InputMessageAnimation class

An animation message (GIF-style)..

Inheritance
Available Extensions

Constructors

InputMessageAnimation({required InputFile animation, InputThumbnail? thumbnail, required List<int> added_sticker_file_ids, required int duration, required int width, required int height, FormattedText? caption, required bool has_spoiler, int? extra, int? clientId})
An animation message (GIF-style).

Properties

added_sticker_file_ids ↔ List<int>
File identifiers of the stickers added to the animation, if applicable.
read / write
animation ↔ InputFile
Animation file to be sent.
read / write
caption ↔ FormattedText?
Animation caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
read / write
clientId ↔ int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
duration ↔ int
Duration of the animation, in seconds.
read / write
extra ↔ int?
Request identifier. Must be non-zero.
read / writeoverride
has_spoiler ↔ bool
True, if the animation preview must be covered by a spoiler animation; not supported in secret chats.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
height ↔ int
Height of the animation; may be replaced by the server.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
thumbnail ↔ InputThumbnail?
Animation thumbnail; pass null to skip thumbnail uploading.
read / write
width ↔ int
Width of the animation; may be replaced by the server.
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) → InputMessageAnimation?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"inputMessageAnimation"