Send Document Data
data class SendDocumentData : DataRequest<ContentMessage<DocumentContent>> , SendMessageRequest<ContentMessage<DocumentContent>> , ReplyingMarkupSendMessageRequest<ContentMessage<DocumentContent>> , TextableSendMessageRequest<ContentMessage<DocumentContent>> , ThumbedSendMessageRequest<ContentMessage<DocumentContent>>
Content copied to clipboard
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
disable Content Type Detection
Disables automatic server-side content type detection for document
Functions
Properties
allowSendingWithoutReply
Link copied to clipboard
chatId
Link copied to clipboard
disableContentTypeDetection
Link copied to clipboard
disableNotification
Link copied to clipboard
entities
Link copied to clipboard
replyMarkup
Link copied to clipboard
replyToMessageId
Link copied to clipboard
requestSerializer
Link copied to clipboard
resultDeserializer
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<DocumentContent>>
Content copied to clipboard
textSources
Link copied to clipboard