Sha256: 946a6d8c0358a57bb191a09abb3f913ea902cf76889eece59bc4076999409a41
Contents?: true
Size: 768 Bytes
Versions: 12
Compression:
Stored size: 768 Bytes
Contents
# This file was auto-generated by lib/tasks/web.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
12 entries across 12 versions & 1 rubygems