| Modifier and Type | Method and Description |
|---|---|
Result |
Sender.send(SendAble msg)
以各种方式 达到想要发送的效果
|
| Modifier and Type | Method and Description |
|---|---|
V2Result |
MessageV2Event.sendMessage(SendAble msg) |
| Modifier and Type | Class and Description |
|---|---|
class |
At |
class |
AtAll |
class |
Image
发送到频道时url必须备案(少数情况不需要
|
class |
Keyboard
按钮可单独发送
但与md一并发送时必须使用模板 属性 类型 必填 说明 id string 否 按钮ID:在一个keyboard消息内设置唯一 render_data.label string 是 按钮上的文字 render_data.visited_label string 是 点击后按钮的上文字 render_data.style int 是 按钮样式:0 灰色线框,1 蓝色线框 action.type int 是 设置 0 跳转按钮:http 或 小程序 客户端识别 scheme,设置 1 回调按钮:回调后台接口, data 传给后台,设置 2 指令按钮:自动在输入框插入 @bot data action.permisson.type int 是 0 指定用户可操作,1 仅管理者可操作,2 所有人可操作,3 指定身份组可操作(仅频道可用) action.permisson.specify_user_ids array 否 有权限的用户 id 的列表 action.permisson.specify_role_ids array 否 有权限的身份组 id 的列表(仅频道可用) action.data string 是 操作相关的数据 action.reply bool 否 指令按钮可用,指令是否带引用回复本消息,默认 false。支持版本 8983 action.enter bool 否 指令按钮可用,点击按钮后直接自动发送 data,默认 false。支持版本 8983 action.anchor int 否 本字段仅在指令按钮下有效,设置后后会忽略 action.enter 配置。 设置为 1 时 ,点击按钮自动唤起启手Q选图器,其他值暂无效果。 (仅支持手机端版本 8983+ 的单聊场景,桌面端不支持) action.click_limit int 否 【已弃用】可操作点击的次数,默认不限 action.at_bot_show_channel_list bool 否 【已弃用】指令按钮可用,弹出子频道选择器,默认 false action.unsupport_tips string 是 客户端不支持本action的时候,弹出的toast文案 |
class |
Markdown |
class |
MessagePre
不适配 group
|
class |
PlainText |
| Modifier and Type | Method and Description |
|---|---|
SendAble |
MessageAsyncBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
MessageAsyncBuilder |
MessageAsyncBuilder.append(SendAble sendAble) |
| Modifier and Type | Class and Description |
|---|---|
class |
MessageChain |
| Modifier and Type | Method and Description |
|---|---|
SendAble |
MessageChain.get(int index) |
SendAble |
MessageChain.remove(int index) |
SendAble |
MessageChain.set(int index,
SendAble element) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<SendAble> |
MessageChain.iterator() |
ListIterator<SendAble> |
MessageChain.listIterator() |
ListIterator<SendAble> |
MessageChain.listIterator(int index) |
List<SendAble> |
MessageChain.subList(int fromIndex,
int toIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
MessageChain.add(int index,
SendAble element) |
boolean |
MessageChain.add(SendAble sendAble) |
MessageChain |
MessageChain.append(SendAble sendAble) |
SendAble |
MessageChain.set(int index,
SendAble element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MessageChain.addAll(Collection<? extends SendAble> c) |
boolean |
MessageChain.addAll(int index,
Collection<? extends SendAble> c) |
void |
MessageChain.forEach(Consumer<? super SendAble> consumer) |
void |
MessageChain.reSet(List<SendAble> collect) |
| Modifier and Type | Method and Description |
|---|---|
Result<ActionResult> |
Dms.send(SendAble msg) |
Result |
Member.send(SendAble msg) |
Result |
InterAction.send(SendAble msg) |
Result<ActionResult> |
Channel.send(SendAble msg) |
| Modifier and Type | Class and Description |
|---|---|
class |
Emoji
字段名 类型 描述 id string 表情ID,系统表情使用数字为ID,emoji使用emoji本身为id,参考 Emoji 列表 type uint32 表情类型 EmojiType
|
| Modifier and Type | Method and Description |
|---|---|
Result |
RawMessage.send(SendAble msg) |
| Modifier and Type | Method and Description |
|---|---|
Result |
Group.send(SendAble msg) |
Result |
Member.send(SendAble msg) |
| Modifier and Type | Method and Description |
|---|---|
Result |
BaseInterActionEvent.send(SendAble msg) |
| Modifier and Type | Method and Description |
|---|---|
Result<ActionResult> |
BaseMessageEvent.send(SendAble msg) |
| Modifier and Type | Method and Description |
|---|---|
Result |
BaseGroupMessageEvent.send(SendAble msg) |
V2Result |
BaseGroupMessageEvent.sendMessage(SendAble msg) |
| Modifier and Type | Field and Description |
|---|---|
static io.github.kloping.arr.ArrDeSerializer<SendAble> |
PdCode.DE_SERIALIZER |
static io.github.kloping.arr.ArrDeSerializer<SendAble> |
BaseUtils.DE_SERIALIZER |
| Modifier and Type | Method and Description |
|---|---|
static String |
PdCode.serializeToPdCode(SendAble e) |
static String |
PdCode.serializeToPdCode(SendAble[] datas) |
Copyright © 2024. All rights reserved.