bin/commands/mpim.rb in slack-ruby-client-0.15.1 vs bin/commands/mpim.rb in slack-ruby-client-0.16.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake
-desc 'Mpim methods.'
+desc 'Get info on your multiparty direct messages.'
command 'mpim' do |g|
g.desc 'Closes a multiparty direct message channel.'
g.long_desc %( Closes a multiparty direct message channel. )
g.command 'close' do |c|
c.flag 'channel', desc: 'MPIM to close.'
@@ -36,11 +36,11 @@
end
g.desc 'Sets the read cursor in a multiparty direct message channel.'
g.long_desc %( Sets the read cursor in a multiparty direct message channel. )
g.command 'mark' do |c|
- c.flag 'channel', desc: 'multiparty direct message channel to set reading cursor in.'
- c.flag 'ts', desc: 'Timestamp of the most recently seen message.'
+ c.flag 'channel', desc: 'Channel or conversation to set the read cursor for.'
+ c.flag 'ts', desc: 'Unique identifier of message you want marked as most recently seen in this conversation.'
c.action do |_global_options, options, _args|
puts JSON.dump($client.mpim_mark(options))
end
end