StoryVideo class
Describes a video file sent in a story.
- Inheritance
- Available Extensions
Constructors
- StoryVideo({required double duration, required int width, required int height, required bool has_stickers, required bool is_animation, Minithumbnail? minithumbnail, Thumbnail? thumbnail, required int preload_prefix_size, required File video, int? extra, int? clientId})
- Describes a video file sent in a story
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- duration ↔ double
-
Duration of the video, in seconds.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- 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.
read / write
- is_animation ↔ bool
-
True, if the video has no sound.
read / write
- minithumbnail ↔ Minithumbnail?
-
Video minithumbnail; may be null.
read / write
- preload_prefix_size ↔ int
-
Size of file prefix, which is supposed to be preloaded, in bytes.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- thumbnail ↔ Thumbnail?
-
Video thumbnail in JPEG or MPEG4 format; may be null.
read / write
- video ↔ File
-
File containing the video.
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) → StoryVideo? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"storyVideo"