slack_web_api v1.2.1 SlackWebAPI.Api.ChatScheduledMessages

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 \\ [])

chat_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 to chat.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

Returns

{:ok, %{}} on success {:error, info} on failure