diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/api.md b/docs/api.md index 91e4148..ccbd60e 100644 --- a/docs/api.md +++ b/docs/api.md @@ -118,6 +118,8 @@ Sends a chat message to a channel. It will be relayed to clients subscribed to t The `:channel` placeholder must be a channel ID, as returned by `GET /api/channels` or `POST /api/channels`. +Chat messages expire after 90 days and can no longer be retrieved at that time. + #### Request ```json @@ -176,6 +178,6 @@ data: "sent_at": "2024-09-19T02:30:50.915462Z" data: } ``` -The event `id` (`1234`, in the example above) is used to support resuming the stream after an interruption. See the "Request headers" section, above, for details. +The event `id` (`1234`, in the example above) is used to support resuming the stream after an interruption. See the "Request headers" section, above, for details. Event IDs are ephemeral, and can only be reused within the brief intervals required to reconnect to the event stream. Do not store them, and do not parse them. The `"id"` field uniquely identifies the message in related API requests, but is not used to resume the stream. |
