lib/slack/web/api/endpoints/admin_conversations_ekm.rb
# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake
module Slack
module Web
module Api
module Endpoints
module AdminConversationsEkm
#
# List all disconnected channels—i.e., channels that were once connected to other workspaces and then disconnected—and the corresponding original channel IDs for key revocation with EKM.
#
# @option options [string] :channel_ids
# A comma-separated list of channels to filter to.
# @option options [string] :cursor
# Set cursor to next_cursor returned by the previous call to list items in the next page.
# @option options [integer] :limit
# The maximum number of items to return. Must be between 1 - 1000 both inclusive.
# @option options [string] :team_ids
# A comma-separated list of the workspaces to which the channels you would like returned belong.
# @see https://api.slack.com/methods/admin.conversations.ekm.listOriginalConnectedChannelInfo
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.conversations.ekm/admin.conversations.ekm.listOriginalConnectedChannelInfo.json
def admin_conversations_ekm_listOriginalConnectedChannelInfo(options = {})
if block_given?
Pagination::Cursor.new(self, :admin_conversations_ekm_listOriginalConnectedChannelInfo, options).each do |page|
yield page
end
else
post('admin.conversations.ekm.listOriginalConnectedChannelInfo', options)
end
end
end
end
end
end
end