bin/commands/rtm.rb in slack-ruby-client-1.1.0 vs bin/commands/rtm.rb in slack-ruby-client-2.0.0

- old
+ new

@@ -10,21 +10,6 @@ c.flag 'presence_sub', desc: 'Only deliver presence events when requested by subscription. See presence subscriptions.' c.action do |_global_options, options, _args| puts JSON.dump($client.rtm_connect(options)) end end - - g.desc 'Deprecated: Starts a Real Time Messaging session. Use rtm.connect instead.' - g.long_desc %( Deprecated: Starts a Real Time Messaging session. Use rtm.connect instead. ) - g.command 'start' do |c| - c.flag 'batch_presence_aware', desc: 'Batch presence deliveries via subscription. Enabling changes the shape of presence_change events. See batch presence.' - c.flag 'include_locale', desc: 'Set this to true to receive the locale for users and channels. Defaults to false.' - c.flag 'mpim_aware', desc: 'Returns MPIMs to the client in the API response.' - c.flag 'no_latest', desc: 'Exclude latest timestamps for channels, groups, mpims, and ims. Automatically sets no_unreads to 1.' - c.flag 'no_unreads', desc: 'Skip unread counts for each channel (improves performance).' - c.flag 'presence_sub', desc: 'Only deliver presence events when requested by subscription. See presence subscriptions.' - c.flag 'simple_latest', desc: 'Return timestamp only for latest message object of each channel (improves performance).' - c.action do |_global_options, options, _args| - puts JSON.dump($client.rtm_start(options)) - end - end end