Skip to content

Commit

Permalink
feat: BotOn(Off)lineEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley-Young committed Oct 9, 2024
1 parent 961ae6f commit b18e417
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proto/event/event_wrapper.proto
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -30,6 +31,9 @@ message LaanaEventWrapper {
LaanaSomeoneRequestToJoinGroupEvent someoneRequestToJoinGroupEvent = 302;
LaanaSelfInvitedToGroupEvent selfInvitedToGroupEvent = 303;

LaanaBotOnlineEvent botOnlineEvent = 1001;
LaanaBotOfflineEvent botOfflineEvent = 1002;

LaanaExtendedEvent extendedEvent = 9999;
}
}
Expand Down
8 changes: 8 additions & 0 deletions proto/event/meta_event.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
syntax = 'proto3';
package Laana;

message LaanaBotOnlineEvent {
}

message LaanaBotOfflineEvent {
}

0 comments on commit b18e417

Please sign in to comment.