InlineQueryResultDocument constructor

const InlineQueryResultDocument({
  1. required String title,
  2. required String documentUrl,
  3. required String mimeType,
  4. required String id,
  5. String? caption,
  6. ParseMode? parseMode,
  7. List<MessageEntity>? captionEntities,
  8. String? description,
  9. InlineKeyboardMarkup? replyMarkup,
  10. InputMessageContent? inputMessageContent,
  11. String? thumbnailUrl,
  12. int? thumbnailWidth,
  13. int? thumbnailHeight,
})

Constructs an InlineQueryResultDocument object

Implementation

const InlineQueryResultDocument({
  required this.title,
  required this.documentUrl,
  required this.mimeType,
  required this.id,
  this.caption,
  this.parseMode,
  this.captionEntities,
  this.description,
  this.replyMarkup,
  this.inputMessageContent,
  this.thumbnailUrl,
  this.thumbnailWidth,
  this.thumbnailHeight,
});