InputMediaVideo constructor

InputMediaVideo({
  1. String type = InputMedia.typeVideo,
  2. required String media,
  3. String? caption,
  4. String? parseMode,
  5. List<MessageEntity>? captionEntities,
  6. String? thumbnail,
  7. int? width,
  8. int? height,
  9. int? duration,
  10. bool? supportsStreaming,
  11. bool? hasSpoiler,
})

Implementation

InputMediaVideo({
  this.type = InputMedia.typeVideo,
  required this.media,
  this.caption,
  this.parseMode,
  this.captionEntities,
  this.thumbnail,
  this.width,
  this.height,
  this.duration,
  this.supportsStreaming,
  this.hasSpoiler,
});