InputMediaVideo class

Implemented types
Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

InputMediaVideo({String type = InputMedia.typeVideo, required String media, String? caption, String? parseMode, List<MessageEntity>? captionEntities, String? thumbnail, int? width, int? height, int? duration, bool? supportsStreaming, bool? hasSpoiler})
InputMediaVideo.fromFile({required File media, String? caption, String? parseMode, List<MessageEntity>? captionEntities, String? thumbnail, int? width, int? height, int? duration, bool? supportsStreaming, bool? hasSpoiler})
factory
InputMediaVideo.fromFileWithThumbnailFile({required File media, required File thumbnail, String? caption, String? parseMode, List<MessageEntity>? captionEntities, int? width, int? height, int? duration, bool? supportsStreaming, bool? hasSpoiler})
factory
InputMediaVideo.fromJson(Map<String, dynamic> json)
factory
InputMediaVideo.withThumbnailFile({required String media, required File thumbnail, String? caption, String? parseMode, List<MessageEntity>? captionEntities, int? width, int? height, int? duration, bool? supportsStreaming, bool? hasSpoiler})
factory

Properties

caption String?
getter/setter pairoverride
captionEntities List<MessageEntity>?
getter/setter pairoverride
duration int?
getter/setter pair
duration_ Duration?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasSpoiler bool?
getter/setter pair
height int?
getter/setter pair
media String
getter/setter pairoverride
mediaFile ↔ MultipartFile?
getter/setter pairoverride
parseMode String?
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportsStreaming bool?
getter/setter pair
thumbnail String?
getter/setter pairoverride
thumbnailFile ↔ MultipartFile?
getter/setter pairoverride
type String
getter/setter pairoverride
width int?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited