InputChatPhotoAnimation class

Inheritance

Constructors

InputChatPhotoAnimation({InputFile animation, double mainFrameTimestamp})
An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 800 and be at most 2MB in size
InputChatPhotoAnimation.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

animation InputFile
animation Animation to be set as profile photo. Only inputFileLocal and inputFileGenerated are allowed
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
mainFrameTimestamp double
mainFrameTimestamp Timestamp of the frame, which will be used as static chat photo
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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
'inputChatPhotoAnimation'