SlackWebAPI v1.2.0 SlackWebAPI.Api.Bots View Source
API calls for all endpoints tagged Bots
.
Link to this section Summary
Functions
Gets information about a bot user.
Link to this section Functions
Link to this function
bots_info(connection, opts \\ [])
View Sourcebots_info(Tesla.Env.client(), keyword()) :: {:ok, map()} | {:error, Tesla.Env.t()}
Gets information about a bot user.
Parameters
- connection (SlackWebAPI.Connection): Connection to server
opts (KeywordList): [optional] Optional parameters
- :token (String.t): Authentication token. Requires scope:
users:read
- :bot (String.t): Bot user to get info on
- :token (String.t): Authentication token. Requires scope:
Returns
{:ok, %{}} on success {:error, info} on failure