summaryrefslogtreecommitdiff
path: root/internal/packet/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/packet/types.go')
-rw-r--r--internal/packet/types.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/internal/packet/types.go b/internal/packet/types.go
index 6d0b1dd..27fd028 100644
--- a/internal/packet/types.go
+++ b/internal/packet/types.go
@@ -233,3 +233,21 @@ type GetBannedMembers struct {
func (m *GetBannedMembers) Type() PacketType {
return PacketGetBannedMembers
}
+
+type GetNotifications struct {
+ Source []snowflake.ID
+ LastReadId []snowflake.ID
+}
+
+func (m *GetNotifications) Type() PacketType {
+ return PacketGetNotifications
+}
+
+type NotificationsInfo struct {
+ Source []snowflake.ID
+ Pings []*int64
+}
+
+func (m *NotificationsInfo) Type() PacketType {
+ return PacketNotificationsInfo
+}