Pathed File
data class PathedFile( val fileId: FileId, val fileUniqueId: FileUniqueId, val filePath: String, val fileSize: Long? = null) : TelegramMediaFile
Content copied to clipboard
Constructors
Link copied to clipboard
fun PathedFile( fileId: FileId, fileUniqueId: FileUniqueId, filePath: String, fileSize: Long? = null)
Content copied to clipboard
Properties
Extensions
Link copied to clipboard
fun PathedFile.asStream(telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper): InputStream
Content copied to clipboard
Link copied to clipboard
suspend fun PathedFile.download(telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper, client: HttpClient = HttpClient()): ByteArray
Content copied to clipboard
Link copied to clipboard