toInputMediaDocument

fun DocumentFile.toInputMediaDocument(caption: String? = null, parseMode: ParseMode? = null): InputMediaDocument
fun DocumentFile.toInputMediaDocument(textSources: TextSourcesList = emptyList()): InputMediaDocument