Skip to content

Commit

Permalink
[Docs] Add OneBot Extend API set_group_reaction
Browse files Browse the repository at this point in the history
Signed-off-by: ishkong <[email protected]>
  • Loading branch information
ishkong committed Oct 9, 2024
1 parent 603d60d commit 62520ab
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/Lagrange.OneBot/API/Extend/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,3 +274,18 @@ async def test_send_forward_message(bot: Bot, target_id: int):
| `group_id` | uint | - | 群号 |
| `user_id` | uint | - | 要设置的 QQ 号 |
| `special_title` | string | - | 专属头衔, 空字符串表示删除专属头衔 |

## 设置群消息表情回应

**方法名**

`set_group_reaction`

**参数**

| 字段名 | 数据类型 | 默认值 | 说明 |
| --------------- | -------- | ------ | ---------------------------------- |
| `group_id` | uint | - | 群号 |
| `message_id` | int | - | 消息 ID |
| `code` | string | - | 表情 ID |
| `is_add` | bool | - | 添加/取消 回应 |

0 comments on commit 62520ab

Please sign in to comment.