InlineQueryResultPhoto constructor
InlineQueryResultPhoto({
- required String id,
- String type = InlineQueryResult.typePhoto,
- required String photoUrl,
- required String thumbnailUrl,
- int? photoWidth,
- int? photoHeight,
- String? title,
- String? description,
- String? caption,
- String? parseMode,
- List<
MessageEntity> ? captionEntities, - InlineKeyboardMarkup? replyMarkup,
- 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,
});