InlineQueryResultDocument constructor

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

Implementation

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