public interface MessageBase
| 字段名 | 类型 | 描述 |
|---|---|---|
| content | string | 选填,消息内容,文本内容,支持内嵌格式 |
| embed | MessageEmbed | 选填,embed 消息,一种特殊的 ark,详情参考Embed消息 |
| ark | MessageArk ark消息对象 | 选填,ark 消息 |
| message_reference | MessageReference 引用消息对象 | 选填,引用消息 |
| image | string | 选填,图片url地址,平台会转存该图片,用于下发图片消息 |
| msg_id | string | 选填,要回复的消息id(Message.id), 在 AT_CREATE_MESSAGE 事件中获取。 |
| markdown | MessageMarkdown markdown 消息对象 | 选填,markdown 消息 |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
delete(String cid,
String mid,
Boolean hidetip)
撤回一条消息
|
ActionResult |
send(String cid,
Map<String,String> headers,
byte[] bytes,
io.github.kloping.MySpringTool.entity.KeyVals data)
send a message
|
ActionResult |
send(String cid,
Map<String,String> headers,
io.github.kloping.MySpringTool.entity.KeyVals data)
send a message
|
ActionResult |
send(String cid,
RawPreMessage body,
Map<String,String> headers)
send a message
|
ActionResult send(String cid, RawPreMessage body, Map<String,String> headers)
cid - body - headers - ActionResult send(String cid, Map<String,String> headers, byte[] bytes, io.github.kloping.MySpringTool.entity.KeyVals data)
cid - headers - bytes - data - ActionResult send(String cid, Map<String,String> headers, io.github.kloping.MySpringTool.entity.KeyVals data)
cid - headers - data - Copyright © 2023. All rights reserved.