toTelegramMediaDocument

fun DocumentFile.toTelegramMediaDocument(text: String? = null, parseMode: ParseMode? = null): TelegramMediaDocument
fun DocumentFile.toTelegramMediaDocument(textSources: TextSourcesList = emptyList()): TelegramMediaDocument