| 程序包 | 说明 |
|---|---|
| cn.daenx.yhchatsdk.framework.utils | |
| cn.daenx.yhchatsdk.framework.vo.v1.req |
| 限定符和类型 | 方法和说明 |
|---|---|
static ApiSendMsgBatchRetV1 |
ApiUtil.sendMsgBatch(ApiSendMsgBatchReqV1 apiSendMsgBatchReqV1)
批量发送消息
|
| 限定符和类型 | 方法和说明 |
|---|---|
ApiSendMsgBatchReqV1 |
ApiSendMsgBatchReqV1.addButton(String text,
Integer actionType,
String url,
String value)
添加一个按钮
该方法可多次调用,在类型方法调用之后调用
|
ApiSendMsgBatchReqV1 |
ApiSendMsgBatchReqV1.File(String recvType,
List<String> recvIds,
String fileName,
String fileUrl)
文件消息
该方法只能调用一次,并且与其他类型方法互斥
|
ApiSendMsgBatchReqV1 |
ApiSendMsgBatchReqV1.Image(String recvType,
List<String> recvIds,
String imageUrl)
图片消息
|
ApiSendMsgBatchReqV1 |
ApiSendMsgBatchReqV1.Markdown(String recvType,
List<String> recvIds,
String text)
Markdown消息
|
ApiSendMsgBatchReqV1 |
ApiSendMsgBatchReqV1.Text(String recvType,
List<String> recvIds,
String text)
文本消息
|
Copyright © 2023. All rights reserved.