Sha256: 98c7325b56660aa644ee31c021adb54792cd19f9b685f403d93e0223e604388e

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 KB

Contents

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

module Slack
  module Cli
    class App
      desc 'ChatScheduledmessages methods.'
      command 'chat_scheduledMessages' do |g|
        g.desc 'Returns a list of scheduled messages.'
        g.long_desc %( Returns a list of scheduled messages. )
        g.command 'list' do |c|
          c.flag 'channel', desc: 'The channel of the scheduled messages.'
          c.flag 'cursor', desc: 'For pagination purposes, this is the cursor value returned from a previous call to chat.scheduledmessages.list indicating where you want to start this call from.'
          c.flag 'latest', desc: 'A Unix timestamp of the latest value in the time range.'
          c.flag 'limit', desc: 'Maximum number of original entries to return.'
          c.flag 'oldest', desc: 'A Unix timestamp of the oldest value in the time range.'
          c.flag 'team_id', desc: 'encoded team id to list channels in, required if org token is used.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.chat_scheduledMessages_list(options))
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 bin/commands/chat_scheduledMessages.rb
slack-ruby-client-2.3.0 bin/commands/chat_scheduledMessages.rb
slack-ruby-client-2.2.0 bin/commands/chat_scheduledMessages.rb