InputStoryContentVideo class

Inheritance

Constructors

InputStoryContentVideo({required InputFile video, required List<int> addedStickerFileIds, required double duration, required bool isAnimation})
A video story
const
InputStoryContentVideo.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

addedStickerFileIds List<int>
addedStickerFileIds File identifiers of the stickers added to the video, if applicable
final
clientId int?
client identifier
no setterinherited
duration double
duration Precise duration of the video, in seconds; 0-60
final
extra → dynamic
callback sign
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isAnimation bool
isAnimation True, if the video has no sound
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
video InputFile
video Video to be sent. The video size must be 720x1280. The video must be streamable and stored in MPEG4 format, after encoding with x265 codec and key frames added each second
final

Methods

copyWith({InputFile? video, List<int>? addedStickerFileIds, double? duration, bool? isAnimation}) InputStoryContentVideo
override
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) 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