Document

@Serializable
@SerialName(value = "document")
data class Document(val id: String, val title: String, val caption: String? = null, val parseMode: ParseMode? = null, val captionEntities: List<MessageEntity>? = null, val documentUrl: String, val mimeType: String, val description: String? = null, val replyMarkup: InlineKeyboardMarkup? = null, val inputMessageContent: InputMessageContent? = null, val thumbnailUrl: String? = null, val thumbnailWidth: Int? = null, val thumbnailHeight: Int? = null) : InlineQueryResult

Constructors

Link copied to clipboard
constructor(id: String, title: String, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, documentUrl: String, mimeType: String, description: String? = null, replyMarkup: InlineKeyboardMarkup? = null, inputMessageContent: InputMessageContent? = null, thumbnailUrl: String? = null, thumbnailWidth: Int? = null, thumbnailHeight: Int? = 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
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val parseMode: ParseMode? = null
Link copied to clipboard
Link copied to clipboard
val thumbnailHeight: Int? = null
Link copied to clipboard
val thumbnailUrl: String? = null
Link copied to clipboard
val thumbnailWidth: Int? = null
Link copied to clipboard
Link copied to clipboard