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.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/packet/types.go b/internal/packet/types.go
index 27fd028..bb2b013 100644
--- a/internal/packet/types.go
+++ b/internal/packet/types.go
@@ -234,13 +234,13 @@ func (m *GetBannedMembers) Type() PacketType {
return PacketGetBannedMembers
}
-type GetNotifications struct {
- Source []snowflake.ID
- LastReadId []snowflake.ID
+type SetLastReadMessages struct {
+ Source []snowflake.ID
+ LastRead []int64
}
-func (m *GetNotifications) Type() PacketType {
- return PacketGetNotifications
+func (m *SetLastReadMessages) Type() PacketType {
+ return PacketSetLastReadMessages
}
type NotificationsInfo struct {