slack_web_api v1.2.1 SlackWebAPI.Api.Emoji
API calls for all endpoints tagged Emoji
.
Link to this section Summary
Functions
Lists custom emoji for a team.
Link to this section Functions
Link to this function
emoji_list(connection, opts \\ [])
emoji_list(Tesla.Env.client(), keyword()) :: {:ok, SlackWebAPI.Model.DefaultSuccessTemplate.t()} | {:error, Tesla.Env.t()}
Lists custom emoji for a team.
Parameters
- connection (SlackWebAPI.Connection): Connection to server
opts (KeywordList): [optional] Optional parameters
- :token (String.t): Authentication token. Requires scope:
emoji:read
- :token (String.t): Authentication token. Requires scope:
Returns
{:ok, %SlackWebAPI.Model.DefaultSuccessTemplate{}} on success {:error, info} on failure