Module: Slack::Web::Api::Endpoints::ChatScheduledmessages
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/chat_scheduledMessages.rb
Instance Method Summary collapse
-
#chat_scheduledMessages_list(options = {}) ⇒ Object
Returns a list of scheduled messages.
Instance Method Details
#chat_scheduledMessages_list(options = {}) ⇒ Object
Returns a list of scheduled messages.
26 27 28 29 30 31 32 33 34 35 |
# File 'lib/slack/web/api/endpoints/chat_scheduledMessages.rb', line 26 def chat_scheduledMessages_list( = {}) = .merge(channel: conversations_id()['channel']['id']) if [:channel] if block_given? Pagination::Cursor.new(self, :chat_scheduledMessages_list, ).each do |page| yield page end else post('chat.scheduledMessages.list', ) end end |