Document

@Serializable
@SerialName(value = "document")
data class Document(var media: ImplicitFile, var thumbnail: ImplicitFile? = null, val caption: String? = null, val parseMode: ParseMode? = null, val captionEntities: List<MessageEntity>? = null, val disableContentTypeDetection: Boolean? = null) : InputMedia

Constructors

Link copied to clipboard
constructor(media: String, thumbnail: ImplicitFile? = null, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, disableTypeDetection: Boolean? = null)
constructor(media: InputFile, thumbnail: ImplicitFile? = null, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, disableTypeDetection: Boolean? = null)
constructor(media: ImplicitFile, thumbnail: ImplicitFile? = null, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, disableContentTypeDetection: Boolean? = null)

Properties

Link copied to clipboard
val caption: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var media: ImplicitFile
Link copied to clipboard
val parseMode: ParseMode? = null
Link copied to clipboard
open override var thumbnail: ImplicitFile?
Link copied to clipboard