Skip to content

Commit 3399eab

Browse files
Update chat API documentation. Clarify the timestamp data type (#586)
1 parent 6afda29 commit 3399eab

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/guides/advanced/chat_api.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ To read messages, send the following payload to <span class="color-tag" data-tag
7575

7676
You must specify either ((%Nbefore%)) or ((%Nafter%)). This endpoint may not be used to retrieve historical data, as it is capped to only return messages from the last 10 minutes. You may only call this endpoint once every 2 seconds.
7777

78+
All timestamps are Date.now() / 1000
79+
7880
You will receive a response like this:
7981

8082
```json

0 commit comments

Comments
 (0)