Sha256: 1d8cdeff44f97b3a431ff8a557b8a59961055250cfc0ca4f20e8cf257cd6e779

Contents?: true

Size: 787 Bytes

Versions: 7

Compression:

Stored size: 787 Bytes

Contents

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

desc 'Rtm methods.'
command 'rtm' do |g|
  g.desc 'This method starts a Real Time Messaging API session. Refer to the'
  g.long_desc %( 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. )
  g.command 'start' do |c|
    c.flag 'simple_latest', desc: 'Return timestamp only for latest message object of each channel (improves performance).'
    c.flag 'no_unreads', desc: 'Skip unread counts for each channel (improves performance).'
    c.flag 'mpim_aware', desc: 'Returns MPIMs to the client in the API response.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.rtm_start(options))
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
slack-ruby-client-bhe-0.5.5 bin/commands/rtm.rb
slack-ruby-client-bhe-0.5.4 bin/commands/rtm.rb
slack-ruby-client-0.5.4 bin/commands/rtm.rb
slack-ruby-client-0.5.3 bin/commands/rtm.rb
slack-ruby-client-0.5.2 bin/commands/rtm.rb
slack-ruby-client-0.5.1 bin/commands/rtm.rb
slack-ruby-client-0.5.0 bin/commands/rtm.rb