//[docs](../../index.md)/[dev.inmo.tgbotapi.types.InputMedia](index.md)/[InputMediaDocument](-input-media-document.md) # InputMediaDocument [common] Content fun [InputMediaDocument](-input-media-document.md)(file: [InputFile](../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.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, thumb: [InputFile](../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.md)? = null, disableContentTypeDetection: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null): [InputMediaDocument](-input-media-document/index.md) fun [InputMediaDocument](-input-media-document.md)(file: [InputFile](../dev.inmo.tgbotapi.requests.abstracts/-input-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)>, thumb: [InputFile](../dev.inmo.tgbotapi.requests.abstracts/-input-file/index.md)? = null, disableContentTypeDetection: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null): [InputMediaDocument](-input-media-document/index.md)