InputMessageVideo class

A video message.

Inheritance
Available Extensions

Constructors

InputMessageVideo({required InputFile video, InputThumbnail? thumbnail, required List<int> added_sticker_file_ids, required int duration, required int width, required int height, required bool supports_streaming, FormattedText? caption, MessageSelfDestructType? self_destruct_type, required bool has_spoiler, int? extra, int? clientId})
A video message

Properties

added_sticker_file_ids List<int>
File identifiers of the stickers added to the video, if applicable.
read / write
caption FormattedText?
Video 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 video, in seconds.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
has_spoiler bool
True, if the video 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
Video height.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
self_destruct_type MessageSelfDestructType?
Video self-destruct type; pass null if none; private chats only.
read / write
supports_streaming bool
True, if the video is supposed to be streamed.
read / write
thumbnail InputThumbnail?
Video thumbnail; pass null to skip thumbnail uploading.
read / write
video InputFile
Video to be sent.
read / write
width int
Video width.
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) InputMessageVideo?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"inputMessageVideo"