Sha256: bfd13146a8e8ace03f5d83b2c80b2aecc05b661fd457c56086749e944e9380d5
Contents?: true
Size: 1.96 KB
Versions: 1
Compression:
Stored size: 1.96 KB
Contents
# 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 [Object] :batch_presence_aware # Group presence change notices as presence_change_batch events when possible. See batching. # @option options [Object] :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/dblock/slack-api-ref/blob/master/methods/rtm/rtm.connect.json def rtm_connect(options = {}) post('rtm.connect', options) end # # Starts a Real Time Messaging session. # # @option options [Object] :batch_presence_aware # Group presence change notices as presence_change_batch events when possible. See batching. # @option options [Object] :mpim_aware # Returns MPIMs to the client in the API response. # @option options [Object] :no_latest # Exclude latest timestamps for channels, groups, mpims, and ims. Automatically sets no_unreads to 1. # @option options [Object] :no_unreads # Skip unread counts for each channel (improves performance). # @option options [Object] :presence_sub # Only deliver presence events when requested by subscription. See presence subscriptions. # @option options [Object] :simple_latest # Return timestamp only for latest message object of each channel (improves performance). # @see https://api.slack.com/methods/rtm.start # @see https://github.com/dblock/slack-api-ref/blob/master/methods/rtm/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.9.1 | lib/slack/web/api/endpoints/rtm.rb |