Skip to content

Commit

Permalink
docs: 补充QQ小黄脸表情支持文档,补充引用消息文档
Browse files Browse the repository at this point in the history
  • Loading branch information
ostli authored and zoswing committed Mar 22, 2022
1 parent 748fcbc commit b60e31c
Show file tree
Hide file tree
Showing 3 changed files with 201 additions and 402 deletions.
11 changes: 6 additions & 5 deletions docs/develop/nodesdk/message/message_format.md
Expand Up @@ -32,11 +32,12 @@ async function demo() {

### 支持的格式

| 类型 | 结构 | 描述 | 示例 |
| :------ | :------------ | :------------------------------------------------------------------ | :---------------- |
| @所有人 | @everyone | 解析为 @所有人 标签 | @everyone 注意啦~ |
| @用户 | <@user_id> | 解析为 @用户 标签 | <@1234000000001> |
| #子频道 | <#channel_id> | 解析为 #子频道 标签,点击可以跳转至子频道,仅支持当前频道内的子频道 | <#12345> |
| 类型 | 结构 | 描述 | 示例 |
| :------ | :-------------- | :---------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------- |
| @用户 | `<@user_id>` | 解析为 `@用户` 标签 | `<@1234000000001>` |
| @所有人 | `@everyone` | 解析为 `@所有人` 标签,需要机器人拥有发送 `@所有人` 消息的权限 | `@everyone` |
| #子频道 | `<#channel_id>` | 解析为 `#子频道` 标签,点击可以跳转至子频道,仅支持当前频道内的子频道 | `<#12345>` |
| 表情 | `<emoji:id>` | 解析为系统表情,具体表情 id 参考 [Emoji 列表](../model/emoji.md#Emoji-列表),仅支持 type=1 的系统表情,type=2 的 emoji 表情直接按字符串填写即可 | `<emoji:4>` 解析为得意表情 |

## 返回说明

Expand Down

0 comments on commit b60e31c

Please sign in to comment.