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