chat scheduled Messages list
GET {{baseUrl}}/chat.scheduledMessages.list?channel=<string>&latest=<number>&oldest=<number>&limit=<integer>&cursor=<string>
Returns a list of scheduled messages.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
channel | string | The channel of the scheduled messages | |
latest | string | A UNIX timestamp of the latest value in the time range | |
oldest | string | A UNIX timestamp of the oldest value in the time range | |
limit | string | Maximum number of original entries to return. | |
cursor | string | For pagination purposes, this is the cursor value returned from a previous call to chat.scheduledmessages.list indicating where you want to start this call from. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
token | string | Authentication token. Requires scope: none |
RESPONSES
status: OK
{"ok":"\u003cboolean\u003e","scheduled_messages":[{"id":"\u003cstring\u003e","channel_id":"\u003cstring\u003e","post_at":"\u003cinteger\u003e","date_created":"\u003cinteger\u003e","text":"\u003cstring\u003e"},{"id":"\u003cstring\u003e","channel_id":"\u003cstring\u003e","post_at":"\u003cinteger\u003e","date_created":"\u003cinteger\u003e","text":"\u003cstring\u003e"}],"response_metadata":{"next_cursor":"\u003cstring\u003e"}}