1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

update doc.

This commit is contained in:
ishkong 2020-12-24 20:26:40 +08:00 committed by GitHub
parent 17ea1e54bd
commit 4b32b30f89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,7 @@
##### 事件 ##### 事件
- [群消息撤回](#群消息撤回) - [群消息撤回](#群消息撤回)
- [好友消息撤回](#好友消息撤回) - [好友消息撤回](#好友消息撤回)
- [好友戳一戳](#好友戳一戳)
- [群内戳一戳](#群内戳一戳) - [群内戳一戳](#群内戳一戳)
- [群红包运气王提示](#群红包运气王提示) - [群红包运气王提示](#群红包运气王提示)
- [群成员荣誉变更提示](#群成员荣誉变更提示) - [群成员荣誉变更提示](#群成员荣誉变更提示)
@ -81,6 +82,7 @@ Type : `image`
示例: `[CQ:image,file=http://baidu.com/1.jpg,type=show,id=40004]` 示例: `[CQ:image,file=http://baidu.com/1.jpg,type=show,id=40004]`
> 注意图片总大小不能超过30MBgif总帧数不能超过300帧
### 回复 ### 回复
@ -780,6 +782,21 @@ Type: `tts`
| `user_id` | int64 | | 好友id | | `user_id` | int64 | | 好友id |
| `message_id` | int64 | | 被撤回的消息id | | `message_id` | int64 | | 被撤回的消息id |
## 好友戳一戳
**事件数据**
| 字段名 | 数据类型 | 可能的值 | 说明 |
| ------------- | ------ | -------- | --- |
| `post_type` | string | `notice` | 上报类型 |
| `notice_type` | string | `notify` | 消息类型 |
| `sub_type` | string | `poke` | 提示类型 |
| `self_id` | int64 | | BOT QQ 号 |
| `sender_id` | int64 | | 发送者 QQ 号 |
| `user_id` | int64 | | 发送者 QQ 号 |
| `target_id` | int64 | | 被戳者 QQ 号 |
| `time` | int64 | | 时间 |
### 群内戳一戳 ### 群内戳一戳
> 注意:此事件无法在平板和手表协议上触发 > 注意:此事件无法在平板和手表协议上触发