slack_web_api v1.2.1 SlackWebAPI.Api.Dialog

API calls for all endpoints tagged Dialog.

Link to this section Summary

Link to this section Functions

Link to this function

dialog_open(connection, opts \\ [])

dialog_open(Tesla.Env.client(), keyword()) ::
  {:ok, map()} | {:error, Tesla.Env.t()}

Open a dialog with a user

Parameters

  • connection (SlackWebAPI.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

Returns

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