Contact
Types
Functions
Link copied to clipboard
头像下载链接.
头像下载链接.
头像下载链接.
Link copied to clipboard
expect open suspend fun sendMessage(message: String): MessageReceipt<Contact>
Content copied to clipboard
发送纯文本消息
expect abstract suspend fun sendMessage(message: Message): MessageReceipt<Contact>
Content copied to clipboard
向这个对象发送消息.
actual open suspend fun sendMessage(message: String): MessageReceipt<Contact>
Content copied to clipboard
发送纯文本消息
actual abstract suspend fun sendMessage(message: Message): MessageReceipt<Contact>
Content copied to clipboard
向这个对象发送消息.
actual open suspend fun sendMessage(message: String): MessageReceipt<Contact>
Content copied to clipboard
发送纯文本消息
actual abstract suspend fun sendMessage(message: Message): MessageReceipt<Contact>
Content copied to clipboard
向这个对象发送消息.
Link copied to clipboard
expect abstract suspend fun uploadImage(resource: ExternalResource): Image
Content copied to clipboard
上传一个 资源 作为图片以备发送.
actual abstract suspend fun uploadImage(resource: ExternalResource): Image
Content copied to clipboard
上传一个 资源 作为图片以备发送.
actual abstract suspend fun uploadImage(resource: ExternalResource): Image
Content copied to clipboard
上传一个 资源 作为图片以备发送.
Properties
Inheritors
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Extensions
Link copied to clipboard
Link copied to clipboard
expect suspend fun Contact.uploadImage(resource: ExternalResource): Image
Content copied to clipboard
将文件作为图片上传, 但不发送
suspend fun Contact.uploadImage(imageStream: InputStream, formatName: String? = null): Image
Content copied to clipboard
读取 InputStream 到临时文件并将其作为图片上传, 但不发送
suspend fun Contact.uploadImage(file: File, formatName: String? = null): Image
Content copied to clipboard
actual suspend fun Contact.uploadImage(resource: ExternalResource): Image
Content copied to clipboard
将文件作为图片上传, 但不发送
actual suspend fun Contact.uploadImage(resource: ExternalResource): Image
Content copied to clipboard
将文件作为图片上传, 但不发送