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
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<DocumentContent>>
Content copied to clipboard
Link copied to clipboard