Skip to content

Commit

Permalink
Merge pull request #136 from GCPanic/patch-1
Browse files Browse the repository at this point in the history
docs: 修补元事件的meta_event_type字段信息
  • Loading branch information
ishkong authored Jun 27, 2023
2 parents 568a5d5 + 015378f commit c3772d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/event/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ post_type 为 meta_event 的上报会有以下有效数据
| \* `time` | int64 | - | 事件发生的时间戳 |
| \* `self_id` | int64 | - | 收到事件的机器人 QQ 号 |
| \* `post_type` | string [参考](/reference/data_struct#post-type) | `meta_event` | 上报类型 |
| `meta_event_type` | string [参考](/reference/data_struct#post-metaevent-type) | `heartbeat` | 元事件类型 |
| \* `meta_event_type` | string [参考](/reference/data_struct#post-metaevent-type) | `heartbeat` | 元事件类型 |
| `status` | Status [参考](/reference/data_struct#status) | - | 应用程序状态 |
| `interval` | int64 | - | 距离上一次心跳包的时间(单位是毫秒) |

Expand All @@ -531,4 +531,5 @@ post_type 为 meta_event 的上报会有以下有效数据
| \* `time` | int64 | - | 事件发生的时间戳 |
| \* `self_id` | int64 | - | 收到事件的机器人 QQ 号 |
| \* `post_type` | string [参考](/reference/data_struct#post-type) | `meta_event` | 上报类型 |
| \* `meta_event_type` | string [参考](/reference/data_struct#post-metaevent-type) | `lifecycle` | 元事件类型 |
| `sub_type` | string | `enable`, `disable`, `connect` | 子类型 |

0 comments on commit c3772d3

Please sign in to comment.