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

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

Properties

Link copied to clipboard
open override val allowSendingWithoutReply: Boolean? = null
Link copied to clipboard
open override val chatId: ChatIdentifier
Link copied to clipboard
val disableContentTypeDetection: Boolean? = null
Link copied to clipboard
open override val disableNotification: Boolean = false
Link copied to clipboard
val document: String? = null
Link copied to clipboard
open val entities: List<TextSource>?
Link copied to clipboard
open override val parseMode: ParseMode? = null
Link copied to clipboard
open override val protectContent: Boolean = false
Link copied to clipboard
open override val replyMarkup: KeyboardMarkup? = null
Link copied to clipboard
open override val replyToMessageId: MessageId? = null
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<DocumentContent>>
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: String? = null