sendImage
suspend fun <C : Contact> C.sendImage(imageStream: <ERROR CLASS>, formatName: String? = null): MessageReceipt<C>
Content copied to clipboard
读取 InputStream 到临时文件并将其作为图片发送到指定联系人
注意:此函数不会关闭 imageStream
See also
Parameters
formatName
Throws
suspend fun <C : Contact> C.sendImage(file: <ERROR CLASS>, formatName: String? = null): MessageReceipt<C>
Content copied to clipboard
将文件作为图片发送到指定联系人
See also
Parameters
formatName
Throws
suspend fun <C : Contact> C.sendImage(resource: ExternalResource): MessageReceipt<C>
Content copied to clipboard
将资源作为单独的图片消息发送给 this
See also
最终调用, 发送消息.