mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-08-22 08:56:30 +00:00
deploy: f12f52899c
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
<div id="main">
|
||||
<div id="leftToggler"><span class="icon-toggler"></span></div>
|
||||
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.requests.send.media//SendDocument/#dev.inmo.tgbotapi.types.ChatIdentifier#dev.inmo.tgbotapi.requests.abstracts.InputFile#dev.inmo.tgbotapi.requests.abstracts.InputFile?#kotlin.String?#dev.inmo.tgbotapi.types.ParseMode.ParseMode?#kotlin.Boolean#kotlin.Long?#kotlin.Boolean?#dev.inmo.tgbotapi.types.buttons.KeyboardMarkup?#kotlin.Boolean?/PointingToDeclaration//1420480770">
|
||||
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.requests.send.media//SendDocument/#dev.inmo.tgbotapi.types.ChatIdentifier#dev.inmo.tgbotapi.requests.abstracts.InputFile#dev.inmo.tgbotapi.requests.abstracts.InputFile?#kotlin.String?#dev.inmo.tgbotapi.types.ParseMode.ParseMode?#kotlin.Boolean#kotlin.Long?#kotlin.Boolean?#dev.inmo.tgbotapi.types.buttons.KeyboardMarkup?#kotlin.Boolean?/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.requests.send.media</a>/<a href="-send-document.html">SendDocument</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
|
||||
|
||||
<div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">fun <a href="-send-document.html">SendDocument</a>(chatId: <a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a>, document: <a href="../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.html">InputFile</a>, thumb: <a href="../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.html">InputFile</a>? = null, text: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>? = null, parseMode: <a href="../dev.inmo.tgbotapi.types.ParseMode/-parse-mode/index.html">ParseMode</a>? = null, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, replyToMessageId: <a href="../dev.inmo.tgbotapi.types/index.html#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1420480770">MessageIdentifier</a>? = null, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null, disableContentTypeDetection: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null): <a href="../dev.inmo.tgbotapi.requests.abstracts/-request/index.html">Request</a><<a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a><<a href="../dev.inmo.tgbotapi.types.message.content.media/-document-content/index.html">DocumentContent</a>>><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">fun <a href="-send-document.html">SendDocument</a>(chatId: <a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a>, document: <a href="../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.html">InputFile</a>, thumb: <a href="../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.html">InputFile</a>? = null, entities: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.html">TextSource</a>>, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, replyToMessageId: <a href="../dev.inmo.tgbotapi.types/index.html#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1420480770">MessageIdentifier</a>? = null, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null, disableContentTypeDetection: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null): <a href="../dev.inmo.tgbotapi.requests.abstracts/-request/index.html">Request</a><<a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a><<a href="../dev.inmo.tgbotapi.types.message.content.media/-document-content/index.html">DocumentContent</a>>><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">fun <a href="-send-document.html">SendDocument</a>(chatId: <a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a>, document: <a href="../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.html">InputFile</a>, thumb: <a href="../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.html">InputFile</a>? = null, text: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>? = null, parseMode: <a href="../dev.inmo.tgbotapi.types.ParseMode/-parse-mode/index.html">ParseMode</a>? = null, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, replyToMessageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>? = null, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null, disableContentTypeDetection: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null): <a href="../dev.inmo.tgbotapi.requests.abstracts/-request/index.html">Request</a><<a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a><<a href="../dev.inmo.tgbotapi.types.message.content.media/-document-content/index.html">DocumentContent</a>>><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">fun <a href="-send-document.html">SendDocument</a>(chatId: <a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a>, document: <a href="../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.html">InputFile</a>, thumb: <a href="../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.html">InputFile</a>? = null, entities: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.html">TextSource</a>>, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, replyToMessageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>? = null, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null, disableContentTypeDetection: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null): <a href="../dev.inmo.tgbotapi.requests.abstracts/-request/index.html">Request</a><<a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a><<a href="../dev.inmo.tgbotapi.types.message.content.media/-document-content/index.html">DocumentContent</a>>><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
||||
</div>
|
||||
<p class="paragraph">Use this method to send general files. On success, the sent <a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a> with <a href="../dev.inmo.tgbotapi.types.message.content.media/-document-content/index.html">DocumentContent</a> 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.</p><h2 class="">See also</h2><div data-togglable="See also"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="See also"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div data-togglable="See also"><div class="table" data-togglable="See also"><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes RowTitle"><div class=""><span class="inline-flex"><a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">dev.inmo.tgbotapi.types.message.abstracts.ContentMessage</a></span><span class="inline-flex"><div data-togglable="See also"></div></span></div><div></div></div></div><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes RowTitle"><div class=""><span class="inline-flex"><a href="../dev.inmo.tgbotapi.types.message.content.media/-document-content/index.html">dev.inmo.tgbotapi.types.message.content.media.DocumentContent</a></span><span class="inline-flex"><div data-togglable="See also"></div></span></div><div></div></div></div></div></div></div></div></div><h2 class="">Parameters</h2><div data-togglable="Parameters"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="Parameters"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">disableContentTypeDetection</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">Disables automatic server-side content type detection for <a href="../dev.inmo.tgbotapi.requests.abstracts/-multipart-file/index.html">document</a></p></div></div></div></div></div></div></div></div></div></div></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user