Skip to content

上报事件兼容情况 V4 ​

字数
586 字
阅读时间
3 分钟

meta_event 事件 ​

事件名说明可用备注
meta_event.lifecycle生命周期✅
meta_event.lifecycle.enable生命周期 - OneBot 启用❌
meta_event.lifecycle.disable生命周期 - OneBot 停用❌
meta_event.lifecycle.connect生命周期 - WebSocket 连接成功✅
meta_event.heartbeat心跳✅

message 事件 ​

事件名说明可用备注
message.private私聊消息✅
message.private.friend私聊消息 - 好友✅
message.private.group私聊消息 - 群临时✅
message.private.group_self私聊消息 - 群中自身发送❌
message.private.other私聊消息 - 其他❌
message.group群聊消息✅
message.group.normal群聊消息 - 普通✅
message.group.notice群聊消息 - 系统提示❌

message_sent 事件 ​

事件名说明可用备注
message_sent.private私聊消息✅
message_sent.private.friend私聊消息 - 好友✅
message_sent.private.group私聊消息 - 群临时✅
message_sent.private.group_self私聊消息 - 群中自身发送❌
message_sent.private.other私聊消息 - 其他❌
message_sent.group群聊消息✅
message_sent.group.normal群聊消息 - 普通✅
message_sent.group.notice群聊消息 - 系统提示❌

request 事件 ​

事件名说明可用备注
request.friend加好友请求✅
request.group.add加群请求✅
request.group.invite邀请登录号入群✅

notice 事件 ​

事件名说明可用备注
notice.friend_add好友添加✅
notice.friend_recall私聊消息撤回✅
notice.offline_file接收到离线文件❌
notice.client_status其他客户端在线状态变更❌
notice.group_admin群聊管理员变动✅
notice.group_admin.set群聊管理员变动 - 增加✅
notice.group_admin.unset群聊管理员变动 - 减少✅
notice.group_ban群聊禁言✅
notice.group_ban.ban群聊禁言 - 禁言✅
notice.group_ban.lift_ban群聊禁言 - 取消禁言✅
notice.group_card群成员名片更新✅
notice.group_decrease群聊成员减少✅
notice.group_decrease.leave群聊成员减少 - 主动退群✅
notice.group_decrease.kick群聊成员减少 - 成员被踢✅
notice.group_decrease.kick_me群聊成员减少 - 登录号被踢✅
notice.group_increase群聊成员增加✅
notice.group_increase.approve群聊成员增加 - 管理员已同意入群✅
notice.group_increase.invite群聊成员增加 - 管理员邀请入群✅
notice.group_recall群聊消息撤回✅
notice.group_upload群聊文件上传✅
notice.group_msg_emoji_like群聊表情回应⏹仅收自己的 其余扩展接口拉取
notice.essence群聊设精✅
notice.essence.add群聊设精 - 增加✅
notice.notify.poke戳一戳✅
notice.notify.input_status输入状态更新✅
notice.notify.title群成员头衔变更✅
notice.notify.profile_like点赞✅