1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-05 16:03:49 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.types.InputMedia/to-input-media-document.md

13 lines
942 B
Markdown
Raw Normal View History

//[docs](../../index.md)/[dev.inmo.tgbotapi.types.InputMedia](index.md)/[toInputMediaDocument](to-input-media-document.md)
# toInputMediaDocument
[common]
Content
fun [DocumentFile](../dev.inmo.tgbotapi.types.files/-document-file/index.md).[toInputMediaDocument](to-input-media-document.md)(caption: [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): [InputMediaDocument](-input-media-document/index.md)
fun [DocumentFile](../dev.inmo.tgbotapi.types.files/-document-file/index.md).[toInputMediaDocument](to-input-media-document.md)(textSources: [TextSourcesList](../dev.inmo.tgbotapi.CommonAbstracts/index.md#%5Bdev.inmo.tgbotapi.CommonAbstracts%2FTextSourcesList%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081) = emptyList()): [InputMediaDocument](-input-media-document/index.md)