SlackWebAPI v1.2.0 SlackWebAPI.Api.ChatScheduledMessages View Source
API calls for all endpoints tagged ChatScheduledMessages
.
Link to this section Summary
Functions
Returns a list of scheduled messages.
Link to this section Functions
Link to this function
chat_scheduled_messages_list(connection, opts \\ [])
View Sourcechat_scheduled_messages_list(Tesla.Env.client(), keyword()) :: {:ok, map()} | {:error, Tesla.Env.t()}
Returns a list of scheduled messages.
Parameters
- connection (SlackWebAPI.Connection): Connection to server
opts (KeywordList): [optional] Optional parameters
- :cursor (String.t): For pagination purposes, this is the
cursor
value returned from a previous call tochat.scheduledmessages.list
indicating where you want to start this call from. - :token (String.t): Authentication token. Requires scope:
none
- :limit (integer()): Maximum number of original entries to return.
- :oldest (float()): A UNIX timestamp of the oldest value in the time range
- :channel (String.t): The channel of the scheduled messages
- :latest (float()): A UNIX timestamp of the latest value in the time range
- :cursor (String.t): For pagination purposes, this is the
Returns
{:ok, %{}} on success {:error, info} on failure