aboutsummaryrefslogtreecommitdiff
path: root/internal/chat/presence.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/chat/presence.go')
-rw-r--r--internal/chat/presence.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/internal/chat/presence.go b/internal/chat/presence.go
new file mode 100644
index 0000000..995f214
--- /dev/null
+++ b/internal/chat/presence.go
@@ -0,0 +1,17 @@
+package chat
+
+import (
+ "time"
+)
+
+type UserJoined struct {
+ User *User
+ Chan *Channel
+ Time time.Time
+}
+
+type UserLeft struct {
+ User *User
+ Chan *Channel
+ Time time.Time
+}