From b18e417dc9fe056c164441ec4d416bc8b71afe08 Mon Sep 17 00:00:00 2001 From: "Wesley F. Young" Date: Wed, 9 Oct 2024 22:15:22 +0800 Subject: [PATCH] feat: `BotOn`(`Off`)`lineEvent` --- proto/event/event_wrapper.proto | 4 ++++ proto/event/meta_event.proto | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 proto/event/meta_event.proto diff --git a/proto/event/event_wrapper.proto b/proto/event/event_wrapper.proto index 7fd2177..a0ff4c8 100644 --- a/proto/event/event_wrapper.proto +++ b/proto/event/event_wrapper.proto @@ -1,6 +1,7 @@ syntax = 'proto3'; package Laana; +import 'event/meta_event.proto'; import 'event/buddy_event.proto'; import 'event/group_event.proto'; import 'event/request_event.proto'; @@ -30,6 +31,9 @@ message LaanaEventWrapper { LaanaSomeoneRequestToJoinGroupEvent someoneRequestToJoinGroupEvent = 302; LaanaSelfInvitedToGroupEvent selfInvitedToGroupEvent = 303; + LaanaBotOnlineEvent botOnlineEvent = 1001; + LaanaBotOfflineEvent botOfflineEvent = 1002; + LaanaExtendedEvent extendedEvent = 9999; } } diff --git a/proto/event/meta_event.proto b/proto/event/meta_event.proto new file mode 100644 index 0000000..60bdea7 --- /dev/null +++ b/proto/event/meta_event.proto @@ -0,0 +1,8 @@ +syntax = 'proto3'; +package Laana; + +message LaanaBotOnlineEvent { +} + +message LaanaBotOfflineEvent { +} \ No newline at end of file