lib/slack/web/api/endpoints/rtm.rb
# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake
module Slack
module Web
module Api
module Endpoints
module Rtm
#
# Starts a Real Time Messaging session.
#
# @option options [boolean] :batch_presence_aware
# Batch presence deliveries via subscription. Enabling changes the shape of presence_change events. See batch presence.
# @option options [boolean] :presence_sub
# Only deliver presence events when requested by subscription. See presence subscriptions.
# @see https://api.slack.com/methods/rtm.connect
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/rtm/rtm.connect.json
def rtm_connect(options = {})
post('rtm.connect', options)
end
end
end
end
end
end