InputMediaDocument

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

See also

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.

Functions

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

Properties

disableContentTypeDetection
Link copied to clipboard
common
val disableContentTypeDetection: Boolean? = null
entities
Link copied to clipboard
common
open val entities: List<TextSource>?
file
Link copied to clipboard
common
open override val file: InputFile
media
Link copied to clipboard
common
open override val media: String
parseMode
Link copied to clipboard
common
open override val parseMode: ParseMode? = null
text
Link copied to clipboard
common
open override val text: String? = null
textSources
Link copied to clipboard
common
open override val textSources: TextSourcesList?

Full list of TextSources

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