Sha256: a542b10480fdff2b49f5d9796b065b6407efb38ceaf2070e6bd375ce8525e146

Contents?: true

Size: 751 Bytes

Versions: 2

Compression:

Stored size: 751 Bytes

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

module Slack
  module Web
    module Api
      module Endpoints
        module Bots
          #
          # Gets information about a bot user.
          #
          # @option options [user] :bot
          #   Bot user to get info on.
          # @option options [team] :team_id
          #   encoded team id or enterprise id where the bot exists, required if org token is used.
          # @see https://api.slack.com/methods/bots.info
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/bots/bots.info.json
          def bots_info(options = {})
            post('bots.info', options)
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slack-ruby-client-1.1.0 lib/slack/web/api/endpoints/bots.rb
slack-ruby-client-1.0.0 lib/slack/web/api/endpoints/bots.rb