InputMessageAnimation class

Inheritance

Constructors

InputMessageAnimation({InputFile animation, InputThumbnail thumbnail, List<int> addedStickerFileIds, int duration, int width, int height, FormattedText caption})
An animation message (GIF-style).
InputMessageAnimation.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

addedStickerFileIds List<int>
addedStickerFileIds File identifiers of the stickers added to the animation, if applicable
read / write
animation InputFile
animation Animation file to be sent
read / write
caption FormattedText
caption Animation caption; 0-GetOption("message_caption_length_max") characters
read / write
duration int
duration Duration of the animation, in seconds
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height int
height Height of the animation; may be replaced by the server
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thumbnail InputThumbnail
thumbnail Animation thumbnail, if available
read / write
width int
width Width of the animation; may be replaced by the server
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'inputMessageAnimation'