mirai-core / net.mamoe.mirai.message / MessagePacketBase / channel

channel

@PlannedRemoval("1.0.0") suspend fun Image.channel(): ByteReadChannel
Deprecated: use your own Http clients, this is going to be removed in 1.0.0

获取图片下载链接并开始下载.

See Also

ByteReadChannel.copyAndClose

ByteReadChannel.copyTo