SendDocumentData

Use this method to send general files. On success, the sent ContentMessage with DocumentContent is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.

See also

Parameters

disableContentTypeDetection

Disables automatic server-side content type detection for document

Functions

method
Link copied to clipboard
common
open override fun method(): String

Properties

allowSendingWithoutReply
Link copied to clipboard
common
open override val allowSendingWithoutReply: Boolean? = null
chatId
Link copied to clipboard
common
open override val chatId: ChatIdentifier
disableContentTypeDetection
Link copied to clipboard
common
val disableContentTypeDetection: Boolean? = null
Disables automatic server-side content type detection for document
disableNotification
Link copied to clipboard
common
open override val disableNotification: Boolean = false
document
Link copied to clipboard
common
val document: String? = null
entities
Link copied to clipboard
common
open override val entities: List<TextSource>?
parseMode
Link copied to clipboard
common
open override val parseMode: ParseMode? = null
replyMarkup
Link copied to clipboard
common
open override val replyMarkup: KeyboardMarkup? = null
replyToMessageId
Link copied to clipboard
common
open override val replyToMessageId: MessageIdentifier? = null
requestSerializer
Link copied to clipboard
common
open override val requestSerializer: SerializationStrategy<*>
resultDeserializer
Link copied to clipboard
common
open override val resultDeserializer: DeserializationStrategy<ContentMessage<DocumentContent>>
text
Link copied to clipboard
common
open override val text: String? = null
thumb
Link copied to clipboard
common
open override val thumb: String? = null