InputStoryContentVideo class final
A video story
- Inheritance
-
- Object
- TdObject
- InputStoryContent
- InputStoryContentVideo
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) -
Parses a InputStoryContentVideo from TDLib JSON.
factory
Properties
-
addedStickerFileIds
→ List<
int> -
File identifiers of the stickers added to the video, if applicable
final
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
no setterinherited
- duration → double
-
Precise duration of the video, in seconds; 0-60
final
- extra → dynamic
-
"@extra" of the request this object answers; null for updates.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAnimation → bool
-
True, if the video has no sound
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- video → InputFile
-
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 -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it.override -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.