aboutsummaryrefslogtreecommitdiff
path: root/lib/models/presence.atd
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/presence.atd')
-rw-r--r--lib/models/presence.atd13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/models/presence.atd b/lib/models/presence.atd
new file mode 100644
index 0000000..da9b3fd
--- /dev/null
+++ b/lib/models/presence.atd
@@ -0,0 +1,13 @@
+type snowflake <ocaml from="Snowflake" t="t"> = abstract
+type user <ocaml from="User" t="t"> = abstract
+type partial_user <ocaml from="User" t="partial_user"> = abstract
+type activity <ocaml from="Activity" t="t"> = abstract
+
+type t = {
+ user: partial_user;
+ roles: snowflake list;
+ ?game: activity option;
+ guild_id: snowflake;
+ status: string;
+ activities: activity list;
+} \ No newline at end of file