Contact
Types
Functions
sendMessage
Link copied to clipboard
发送纯文本消息
abstract suspend fun sendMessage(message: Message): MessageReceipt<Contact>
Content copied to clipboard
向这个对象发送消息.
uploadImage
Link copied to clipboard
上传一个 资源 作为图片以备发送.
Properties
Inheritors
AudioSupported
Link copied to clipboard
FileSupported
Link copied to clipboard
Group
Link copied to clipboard
OtherClient
Link copied to clipboard
User
Link copied to clipboard
RoamingSupported
Link copied to clipboard
Extensions
recallMessage
Link copied to clipboard
uploadImage
Link copied to clipboard
suspend fun Contact.uploadImage(imageStream: <ERROR CLASS>, formatName: String? = null): Image
Content copied to clipboard
读取 InputStream 到临时文件并将其作为图片上传, 但不发送
suspend fun Contact.uploadImage(file: <ERROR CLASS>, formatName: String? = null): Image
Content copied to clipboard
将文件作为图片上传, 但不发送