Slack.Web.Bots (SlackKit v1.0.0-alpha.0)

View Source

Summary

Functions

Gets information about a bot user.

Functions

info(optional_params \\ %{})

Gets information about a bot user.

API reference

Rate limit: Tier 3: 50+ per minute
Scopes:

View on docs.slack.dev ↗

Optional Params

  • bot - Bot user to get info on ex: B12345678
  • team_id - encoded team id or enterprise id where the bot exists, required if org token is used

Errors the API can return:

  • bot_not_found - Value passed for bot was invalid.
  • bots_not_found - At least one value passed for bots was invalid.
  • missing_argument - A required argument is missing.
  • team_not_found - Value passed for team_id was invalid.

See the Common Errors guide for errors returned by every Web API method.