module Slack::Web::Api::Endpoints::Users
def users_conversations(options = {})
- See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/users/users.conversations.json -
See: https://api.slack.com/methods/users.conversations -
Options Hash:
(**options)
-
:user
(user
) -- -
:types
(Object
) -- -
:limit
(Object
) -- -
:exclude_archived
(Object
) -- -
:cursor
(Object
) --
def users_conversations(options = {}) options = options.merge(user: users_id(options)['user']['id']) if options[:user] if block_given? Pagination::Cursor.new(self, :users_conversations, options).each do |page| yield page end else post('users.conversations', options) end end