Skip to content

Commit

Permalink
[Doc] Implemented set_group_special_title
Browse files Browse the repository at this point in the history
  • Loading branch information
ishkong authored Mar 14, 2024
1 parent 3e6b363 commit 4155624
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/Lagrange.OneBot/API/Extend/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,4 +249,18 @@ async def test_send_forward_message(target_id: int):
| 字段 | 类型 | 说明 |
| ---------- | ---- | ---------- |
| `group_id` | int | 群号 |
| `user_id` | int | 对方 QQ 号 |
| `user_id` | int | 对方 QQ 号 |


## 设置群组专属头衔

**方法名**
`set_group_special_title`

**参数**

| 字段名 | 数据类型 | 默认值 | 说明 |
| --------------- | -------- | ------ | ------------------------------------------------------------ |
| `group_id` | uint | - | 群号 |
| `user_id` | uint | - | 要设置的 QQ 号 |
| `special_title` | string | - | 专属头衔, 空字符串表示删除专属头衔 |

0 comments on commit 4155624

Please sign in to comment.