InputMediaDocument constructor

InputMediaDocument({
  1. String type = InputMedia.typeDocument,
  2. required String media,
  3. String? thumbnail,
  4. String? caption,
  5. String? parseMode,
  6. List<MessageEntity>? captionEntities,
  7. bool? disableContentTypeDetection,
})

Implementation

InputMediaDocument({
  this.type = InputMedia.typeDocument,
  required this.media,
  this.thumbnail,
  this.caption,
  this.parseMode,
  this.captionEntities,
  this.disableContentTypeDetection,
});