SlackWebAPI v1.2.0 SlackWebAPI.Api.AppsPermissions View Source
API calls for all endpoints tagged AppsPermissions
.
Link to this section Summary
Functions
Returns list of permissions this app has on a team.
Allows an app to request additional scopes
Link to this section Functions
Link to this function
apps_permissions_info(connection, opts \\ [])
View Sourceapps_permissions_info(Tesla.Env.client(), keyword()) :: {:ok, map()} | {:error, Tesla.Env.t()}
Returns list of permissions this app has on a team.
Parameters
- connection (SlackWebAPI.Connection): Connection to server
opts (KeywordList): [optional] Optional parameters
- :token (String.t): Authentication token. Requires scope:
none
- :token (String.t): Authentication token. Requires scope:
Returns
{:ok, %{}} on success {:error, info} on failure
Link to this function
apps_permissions_request(connection, opts \\ [])
View Sourceapps_permissions_request(Tesla.Env.client(), keyword()) :: {:ok, map()} | {:error, Tesla.Env.t()}
Allows an app to request additional scopes
Parameters
- connection (SlackWebAPI.Connection): Connection to server
opts (KeywordList): [optional] Optional parameters
- :scopes (String.t): A comma separated list of scopes to request for
- :token (String.t): Authentication token. Requires scope:
none
- :trigger_id (String.t): Token used to trigger the permissions API
Returns
{:ok, %{}} on success {:error, info} on failure