类 ApiUtil
java.lang.Object
cn.daenx.yhchatsdk.framework.utils.ApiUtil
API工具类
- 作者:
- DaenMax
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static ApiDisBoardRetV1disBoard(ApiDisBoardReqV1 apiDisBoardReqV1) 取消设置看板static ApiEditMsgRetV1editMsg(ApiEditMsgReqV1 apiEditMsgReqV1) 编辑消息 参数中的recvId、recvType需要和原消息保持一致,否则无法编辑static StringgetToken()static ApiRecallMsgRetV1recallMsg(ApiRecallMsgReqV1 apiRecallMsgReqV1) 撤回消息 参数中的chatId、chatType需要和原消息保持一致,否则无法撤回static ApiSendMsgRetV1sendMsg(ApiSendMsgReqV1 apiSendMsgReqV1) 发送消息static ApiSendMsgBatchRetV1sendMsgBatch(ApiSendMsgBatchReqV1 apiSendMsgBatchReqV1) 批量发送消息static ApiSetBoardRetV1setBoard(ApiSetBoardReqV1 apiSetBoardReqV1) 设置看板void
-
构造器详细资料
-
ApiUtil
public ApiUtil()
-
-
方法详细资料
-
setToken
-
getToken
-
sendMsg
发送消息- 参数:
apiSendMsgReqV1-- 返回:
-
sendMsgBatch
批量发送消息- 参数:
apiSendMsgBatchReqV1-- 返回:
-
editMsg
编辑消息 参数中的recvId、recvType需要和原消息保持一致,否则无法编辑- 参数:
apiEditMsgReqV1-- 返回:
-
recallMsg
撤回消息 参数中的chatId、chatType需要和原消息保持一致,否则无法撤回- 参数:
apiRecallMsgReqV1-- 返回:
-
setBoard
设置看板- 参数:
apiSetBoardReqV1-- 返回:
-
disBoard
取消设置看板- 参数:
apiDisBoardReqV1-- 返回:
-