Sha256: 9baba19bb6a0449bcbe06777be04afd2121c591e15bb5f4540eee45b87f43599

Contents?: true

Size: 682 Bytes

Versions: 3

Compression:

Stored size: 682 Bytes

Contents

# This file was auto-generated by lib/generators/tasks/generate.rb

module Slack
  module Endpoint
    module Bots
      #
      # This method returns information about a bot user.
      #
      # @option options [Object] :bot
      #   Bot user to get info on
      # @see https://api.slack.com/methods/bots.info
      # @see https://github.com/aki017/slack-api-docs/blob/master/methods/bots.info.md
      # @see https://github.com/aki017/slack-api-docs/blob/master/methods/bots.info.json
      def bots_info(options={})
        options[:attachments] = options[:attachments].to_json if Hash === options[:attachments]
        post("bots.info", options)
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slack-api-1.4.0 lib/slack/endpoint/bots.rb
slack-api-1.3.0 lib/slack/endpoint/bots.rb
slack-api-1.2.4 lib/slack/endpoint/bots.rb