Sha256: 85ddbcf6c7e75f6a618ca1cb5e427217e69c0ed961c119634b0aa29c1da81d60

Contents?: true

Size: 664 Bytes

Versions: 1

Compression:

Stored size: 664 Bytes

Contents

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

desc 'Rtm methods.'
command 'rtm' do |g|
  g.desc 'Starts a Real Time Messaging session.'
  g.long_desc %( Starts a Real Time Messaging session. )
  g.command 'connect' 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 '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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-client-2.0.0 bin/commands/rtm.rb