1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2026-08-22 08:56:30 +00:00
Files
tgbotapi/docs/dev.inmo.tgbotapi.extensions.api.send.media/reply-with-document.md
InsanusMokrassar b942627f12 deploy: 308fb9274b
2021-03-17 15:18:37 +00:00

15 lines
5.0 KiB
Markdown

//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.api.send.media](index.md)/[replyWithDocument](reply-with-document.md)
# replyWithDocument
[common]
Content
inline suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[replyWithDocument](reply-with-document.md)(to: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md), document: [InputFile](../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.md), thumb: [InputFile](../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.md)? = null, text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, parseMode: [ParseMode](../dev.inmo.tgbotapi.types.ParseMode/-parse-mode/index.md)? = null, disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, allowSendingWithoutReply: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null, replyMarkup: [KeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.md)? = null, disableContentTypeDetection: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null): [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[DocumentContent](../dev.inmo.tgbotapi.types.message.content.media/-document-content/index.md)>
inline suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[replyWithDocument](reply-with-document.md)(to: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md), document: [DocumentFile](../dev.inmo.tgbotapi.types.files/-document-file/index.md), text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, parseMode: [ParseMode](../dev.inmo.tgbotapi.types.ParseMode/-parse-mode/index.md)? = null, disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, allowSendingWithoutReply: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null, replyMarkup: [KeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.md)? = null, disableContentTypeDetection: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null): [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[DocumentContent](../dev.inmo.tgbotapi.types.message.content.media/-document-content/index.md)>
inline suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[replyWithDocument](reply-with-document.md)(to: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md), document: [InputFile](../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.md), thumb: [InputFile](../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.md)? = null, entities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>, disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, allowSendingWithoutReply: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null, replyMarkup: [KeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.md)? = null, disableContentTypeDetection: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null): [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[DocumentContent](../dev.inmo.tgbotapi.types.message.content.media/-document-content/index.md)>
inline suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[replyWithDocument](reply-with-document.md)(to: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md), document: [DocumentFile](../dev.inmo.tgbotapi.types.files/-document-file/index.md), entities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>, disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, allowSendingWithoutReply: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null, replyMarkup: [KeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.md)? = null, disableContentTypeDetection: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null): [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[DocumentContent](../dev.inmo.tgbotapi.types.message.content.media/-document-content/index.md)>