Package-level declarations

Functions

Link copied to clipboard
suspend fun TelegramBot.downloadFile(fileId: FileId, destFile: File): File
suspend fun TelegramBot.downloadFile(pathedFile: PathedFile, destFile: File): File
suspend fun TelegramBot.downloadFile(file: TelegramMediaFile, destFile: File): File
suspend fun TelegramBot.downloadFile(file: MediaContent, destFile: File): File
suspend fun TelegramBot.downloadFile(filePath: String, destFile: File): File
Link copied to clipboard
suspend fun TelegramBot.downloadFileStream(fileId: FileId): ByteReadChannel
suspend fun TelegramBot.downloadFileStream(pathedFile: PathedFile): ByteReadChannel
suspend fun TelegramBot.downloadFileStream(file: TelegramMediaFile): ByteReadChannel
suspend fun TelegramBot.downloadFileStream(file: MediaContent): ByteReadChannel
suspend fun TelegramBot.downloadFileStream(filePath: String): ByteReadChannel
Link copied to clipboard