Video class



Video({int duration, int width, int height, String fileName, String mimeType, bool hasStickers, bool supportsStreaming, Minithumbnail minithumbnail, Thumbnail thumbnail, File video})
Describes a video file
Video.fromJson(Map<String, dynamic> json)
Parse from a json


duration int
duration Duration of the video, in seconds; as defined by the sender
read / write
fileName String
fileName Original name of the file; as defined by the sender
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hasStickers bool
hasStickers True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets
read / write
height int
height Video height; as defined by the sender
read / write
mimeType String
mimeType MIME type of the file; as defined by the sender
read / write
minithumbnail Minithumbnail
minithumbnail Video minithumbnail; may be null
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
supportsStreaming bool
supportsStreaming True, if the video should be tried to be streamed
read / write
thumbnail Thumbnail
thumbnail Video thumbnail in JPEG or MPEG4 format; as defined by the sender; may be null
read / write
video File
video File containing the video
read / write
width int
width Video width; as defined by the sender
read / write


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


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


CONSTRUCTOR → const String