docs
4.2.3
common
docs
/
dev.inmo.tgbotapi.extensions.api.files
/
downloadFileStream
download
File
Stream
suspend
fun
TelegramBot
.
downloadFileStream
(
filePath
:
String
)
:
ByteReadChannel
suspend
fun
TelegramBot
.
downloadFileStream
(
pathedFile
:
PathedFile
)
:
ByteReadChannel
suspend
fun
TelegramBot
.
downloadFileStream
(
fileId
:
FileId
)
:
ByteReadChannel
suspend
fun
TelegramBot
.
downloadFileStream
(
file
:
TelegramMediaFile
)
:
ByteReadChannel
suspend
fun
TelegramBot
.
downloadFileStream
(
file
:
MediaContent
)
:
ByteReadChannel