Video class

Describes a video file.

Inheritance
Available Extensions

Constructors

Video({required int duration, required int width, required int height, required String file_name, required String mime_type, required bool has_stickers, required bool supports_streaming, Minithumbnail? minithumbnail, Thumbnail? thumbnail, required File video, int? extra, int? clientId})
Describes a video file

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
duration int
Duration of the video, in seconds; as defined by the sender.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
file_name String
Original name of the file; as defined by the sender.
read / write
has_stickers bool
True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
height int
Video height; as defined by the sender.
read / write
mime_type String
MIME type of the file; as defined by the sender.
read / write
minithumbnail Minithumbnail?
Video minithumbnail; may be null.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
supports_streaming bool
True, if the video is supposed to be streamed.
read / write
thumbnail Thumbnail?
Video thumbnail in JPEG or MPEG4 format; as defined by the sender; may be null.
read / write
video File
File containing the video.
read / write
width int
Video width; as defined by the sender.
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) Video?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"video"