public class Message extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
BatchSendMsgResult |
batchSendMsg(BatchSendMsgRequest batchSendMsgRequest)
批量发单聊消息
|
C2cUnreadMsgNumResult |
getC2cUnreadMsgNum(GetC2cUnreadMsgRequest getC2cUnreadMsgRequest)
查询单聊未读消息计数
|
AdminRoamMsgResult |
getRoamMsg(AdminGetRoamMsgRequest adminGetRoamMsgRequest)
查询单聊消息
|
ImportMsgResult |
importMsg(ImportMsgRequest importMsgRequest)
导入单聊消息
|
AdminMsgWithdrawResult |
msgWithdraw(AdminMsgWithdrawRequest adminMsgWithdrawRequest)
撤回单聊消息
|
SendMsgResult |
sendMsg(SendMsgRequest sendMsgRequest)
单发单聊消息
|
AdminSetMsgReadResult |
setMsgRead(AdminSetMsgReadRequest adminSetMsgReadRequest)
设置单聊消息已读
|
public Message(ImClient imClient)
public SendMsgResult sendMsg(SendMsgRequest sendMsgRequest) throws IOException
sendMsgRequest - 请求参数IOException - 异常public BatchSendMsgResult batchSendMsg(BatchSendMsgRequest batchSendMsgRequest) throws IOException
batchSendMsgRequest - 请求参数IOException - 异常public ImportMsgResult importMsg(ImportMsgRequest importMsgRequest) throws IOException
importMsgRequest - 请求参数IOException - 异常public AdminRoamMsgResult getRoamMsg(AdminGetRoamMsgRequest adminGetRoamMsgRequest) throws IOException
adminGetRoamMsgRequest - 请求参数IOException - 异常public AdminMsgWithdrawResult msgWithdraw(AdminMsgWithdrawRequest adminMsgWithdrawRequest) throws IOException
adminMsgWithdrawRequest - 请求参数IOException - 异常public AdminSetMsgReadResult setMsgRead(AdminSetMsgReadRequest adminSetMsgReadRequest) throws IOException
adminSetMsgReadRequest - 请求参数IOException - 异常public C2cUnreadMsgNumResult getC2cUnreadMsgNum(GetC2cUnreadMsgRequest getC2cUnreadMsgRequest) throws IOException
getC2cUnreadMsgRequest - 请求参数IOException - 异常Copyright © 2021 Doocs Community. All rights reserved.