Method: Slack::Web::Api::Endpoints::Conversations#conversations_list
- Defined in:
- lib/slack/web/api/endpoints/conversations.rb
#conversations_list(options = {}) ⇒ Object
Lists all channels in a Slack team.
171 172 173 174 175 176 177 178 179 |
# File 'lib/slack/web/api/endpoints/conversations.rb', line 171 def conversations_list( = {}) if block_given? Pagination::Cursor.new(self, :conversations_list, ).each do |page| yield page end else post('conversations.list', ) end end |