Module: Slack::Web::Api::Endpoints::Bots

Included in:
Slack::Web::Api::Endpoints
Defined in:
lib/slack/web/api/endpoints/bots.rb

Instance Method Summary collapse

Instance Method Details

#bots_info(options = {}) ⇒ Object

Gets information about a bot user.

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :bot (user)

    Bot user to get info on.

  • :team_id (team)

    encoded team id or enterprise id where the bot exists, required if org token is used.

See Also:



18
19
20
# File 'lib/slack/web/api/endpoints/bots.rb', line 18

def bots_info(options = {})
  post('bots.info', options)
end