mirai-core / net.mamoe.mirai / Bot / openChannel

openChannel

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

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

See Also

ByteReadChannel.copyAndClose

ByteReadChannel.copyTo