Slack.Web.Chat.ScheduledMessages (SlackKit v1.0.0-alpha.0)

View Source

Summary

Functions

Returns a list of scheduled messages.

Functions

list(optional_params \\ %{})

Returns a list of scheduled messages.

API reference

Rate limit: Tier 3: 50+ per minute
Scopes: No scopes required

View on docs.slack.dev ↗

Optional Params

  • channel - The channel of the scheduled messages ex: C123456789
  • cursor - 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. ex: dXNlcjpVMDYxTkZUVDI=
  • latest - A Unix timestamp of the latest value in the time range. This field will be ignored if the API call is sent using a workspace-level token. oldest signifies the Unix timestamp of the earliest range you're interested in. latest signifies the latest. If both oldest and latest are specified, oldest must be less than latest. ex: 1562137200
  • limit - Maximum number of original entries to return. ex: 100
  • oldest - A Unix timestamp of the oldest value in the time range. This field will be ignored if the API call is sent using a workspace-level token. oldest signifies the Unix timestamp of the earliest range you're interested in. latest signifies the latest. If both oldest and latest are specified, oldest must be less than latest. ex: 1562137200
  • team_id - encoded team id to list channels in, required if org token is used

Errors the API can return:

  • invalid_channel - The channel passed is invalid
  • invalid_cursor - Provided cursor is invalid
  • invalid_token - Token is invalid

See the Common Errors guide for errors returned by every Web API method.