Functions
Link copied to clipboard
头像下载链接.
头像下载链接.
Link copied to clipboard
fun CoroutineScope.globalEventChannel(coroutineContext: CoroutineContext = EmptyCoroutineContext): EventChannel<Event>
在此 CoroutineScope 下创建一个监听所有事件的 EventChannel. 相当于 GlobalEventChannel.parentScope(this).context(coroutineContext)
.
Link copied to clipboard
Link copied to clipboard
发送纯文本消息
向这个对象发送消息.
发送纯文本消息
向这个对象发送消息.
Link copied to clipboard
将文件作为图片上传, 但不发送
suspend fun Contact.uploadImage(file: <Error class: unknown class>, formatName: String? = null): Image
将文件作为图片上传, 但不发送
suspend fun Contact.uploadImage(imageStream: <Error class: unknown class>, formatName: String? = null): Image
读取 InputStream 到临时文件并将其作为图片上传, 但不发送
Properties
Link copied to clipboard
头像下载链接, 规格默认为 AvatarSpec.LARGEST
头像下载链接, 规格默认为 AvatarSpec.LARGEST
coroutineContext
Link copied to clipboard