InputMediaDocument constructor

const InputMediaDocument({
  1. required InputFile media,
  2. InputFile? thumbnail,
  3. String? caption,
  4. ParseMode? parseMode,
  5. List<MessageEntity>? captionEntities,
  6. bool? disableContentTypeDetection,
})

Constructs an InputMediaDocument object

Implementation

const InputMediaDocument({
  required super.media,
  this.thumbnail,
  this.caption,
  this.parseMode,
  this.captionEntities,
  this.disableContentTypeDetection,
});