TelegramMediaDocument

Represents a general file to be sent. See https://core.telegram.org/bots/api#inputmediadocument

Parameters

disableContentTypeDetection

Disables automatic server-side content type detection for files uploaded using multipart/form-data. Always used by Telegram system as true, if the document is sent as part of an album.

See also

Properties

Link copied to clipboard
@SerialName(value = "disable_content_type_detection")
val disableContentTypeDetection: Boolean? = null
Link copied to clipboard
Link copied to clipboard
open override val file: InputFile
Link copied to clipboard
@SerialName(value = "media")
open override val media: String
Link copied to clipboard
@SerialName(value = "parse_mode")
open override val parseMode: ParseMode? = null
Link copied to clipboard
@SerialName(value = "caption")
open override val text: String? = null
Link copied to clipboard
open override val textSources: TextSourcesList?

Full list of TextSources

Link copied to clipboard
open override val thumb: InputFile? = null
Link copied to clipboard
open override val type: String

Functions

Link copied to clipboard
open override fun serialize(format: StringFormat): String