Photo

@Serializable
@SerialName(value = "photo")
data class Photo(val id: String, val photoUrl: String, val thumbnailUrl: String, val photoWidth: Int? = null, val photoHeight: Int? = null, val title: String? = null, val description: String? = null, val caption: String? = null, val parseMode: ParseMode? = null, val captionEntities: List<MessageEntity>? = null, val replyMarkup: InlineKeyboardMarkup? = null, val inputMessageContent: InputMessageContent? = null, val showCaptionAboveMedia: Boolean? = null) : InlineQueryResult

Constructors

Link copied to clipboard
constructor(id: String, photoUrl: String, thumbnailUrl: String, photoWidth: Int? = null, photoHeight: Int? = null, title: String? = null, description: String? = null, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, replyMarkup: InlineKeyboardMarkup? = null, inputMessageContent: InputMessageContent? = null, showCaptionAboveMedia: Boolean? = null)

Properties

Link copied to clipboard
val caption: String? = null
Link copied to clipboard
Link copied to clipboard
val description: String? = null
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
val parseMode: ParseMode? = null
Link copied to clipboard
val photoHeight: Int? = null
Link copied to clipboard
Link copied to clipboard
val photoWidth: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val title: String? = null
Link copied to clipboard