InlineQueryResultPhoto constructor

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

Implementation

InlineQueryResultPhoto({
  required this.id,
  this.type = InlineQueryResult.typePhoto,
  required this.photoUrl,
  required this.thumbnailUrl,
  this.photoWidth,
  this.photoHeight,
  this.title,
  this.description,
  this.caption,
  this.parseMode,
  this.captionEntities,
  this.replyMarkup,
  this.inputMessageContent,
});