summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md22
1 files changed, 8 insertions, 14 deletions
diff --git a/docs/api.md b/docs/api.md
index 91485f3..13e71c7 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -36,10 +36,8 @@ Returns information needed to boot the client. Also the recommended way to check
"id": "L1234abcd",
"name": "example username"
},
- "message": {
- "id": "M1312acab",
- "body": "beep"
- }
+ "id": "M1312acab",
+ "body": "beep"
}
]
}
@@ -204,10 +202,8 @@ id: 1233
data: {
data: "type": "created",
data: "at": "2024-09-27T23:18:10.208147Z",
-data: "channel": {
-data: "id": "C9876cyyz",
-data: "name": "example channel 2"
-data: }
+data: "id": "C9876cyyz",
+data: "name": "example channel 2"
data: }
id: 1234
@@ -222,10 +218,8 @@ data: "sender": {
data: "id": "L1234abcd",
data: "name": "example username"
data: },
-data: "message": {
-data: "id": "M1312acab",
-data: "body": "beep"
-data: }
+data: "id": "M1312acab",
+data: "body": "beep"
data: }
id: 1235
@@ -236,14 +230,14 @@ data: "id": "C9876cyyz",
data: "name": "example channel 2"
data: },
data: "type": "message_deleted",
-data: "message": "M1312acab"
+data: "id": "M1312acab"
data: }
id: 1236
data: {
data: "at": "2024-09-28T03:40:25.384318Z",
data: "type": "deleted",
-data: "channel": "C9876cyyz"
+data: "id": "C9876cyyz"
data: }
```