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
Link copied to clipboard
Link copied to clipboard
open override val file: InputFile
Link copied to clipboard
open override val media: String
Link copied to clipboard
open override val parseMode: ParseMode? = null
Link copied to clipboard
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