Sha256: 88c9873b21a32e856d1a9441e82ebeb83c8cca6769e79f73f1726540be86ed2c

Contents?: true

Size: 987 Bytes

Versions: 1

Compression:

Stored size: 987 Bytes

Contents

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

module Slack
  module Web
    module Api
      module Endpoints
        module Rtm
          #
          # This method starts a Real Time Messaging API session. Refer to the
          # RTM API documentation for full details on how to use the RTM API.
          #
          # @option options [Object] :simple_latest
          #   Return timestamp only for latest message object of each channel (improves performance).
          # @option options [Object] :no_unreads
          #   Skip unread counts for each channel (improves performance).
          # @option options [Object] :mpim_aware
          #   Returns MPIMs to the client in the API response.
          # @see https://api.slack.com/methods/rtm.start
          # @see https://github.com/dblock/slack-api-ref/blob/master/methods/rtm.start.json
          def rtm_start(options = {})
            post('rtm.start', options)
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-client-0.6.0 lib/slack/web/api/endpoints/rtm.rb