InlineQueryResultPhoto constructor

const InlineQueryResultPhoto({
  1. required String photoUrl,
  2. required String thumbnailUrl,
  3. required String id,
  4. int? photoWidth,
  5. int? photoHeight,
  6. String? title,
  7. String? description,
  8. String? caption,
  9. ParseMode? parseMode,
  10. List<MessageEntity>? captionEntities,
  11. InlineKeyboardMarkup? replyMarkup,
  12. InputMessageContent? inputMessageContent,
  13. bool? showCaptionAboveMedia,
})

Constructs an InlineQueryResultPhoto object

Implementation

const InlineQueryResultPhoto({
  required this.photoUrl,
  required this.thumbnailUrl,
  required this.id,
  this.photoWidth,
  this.photoHeight,
  this.title,
  this.description,
  this.caption,
  this.parseMode,
  this.captionEntities,
  this.replyMarkup,
  this.inputMessageContent,
  this.showCaptionAboveMedia,
});