Skip to content

Commit

Permalink
[Docs] Updates to APIs related to essence messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ishkong authored Nov 19, 2024
1 parent 4a0a22b commit 258af21
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions docs/Lagrange.OneBot/API/Extend/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,3 +289,44 @@ async def test_send_forward_message(bot: Bot, target_id: int):
| `message_id` | int | - | 消息 ID |
| `code` | string | - | 表情 ID |
| `is_add` | bool | - | 添加/取消 回应 |

## 设置群精华消息

**方法名**

`set_essence_msg`

**参数**

| 字段名 | 数据类型 | 默认值 | 说明 |
| --------------- | -------- | ------ | ---------------------------------- |
| `message_id` | int | - | 消息 ID |

## 删除群精华消息

**方法名**

`delete_essence_msg`

**参数**

| 字段名 | 数据类型 | 默认值 | 说明 |
| --------------- | -------- | ------ | ---------------------------------- |
| `message_id` | int | - | 消息 ID |

## 设置群精华消息

**方法名**

`get_essence_msg_list`

**参数**

| 字段名 | 数据类型 | 默认值 | 说明 |
| -------------- | -------- | ------ | ----- |
| `group_id` | int | - | 群号 |


**响应数据**

待更新

0 comments on commit 258af21

Please sign in to comment.