slack_transfer.functions.common.get_channels_list#

slack_transfer.functions.common.get_channels_list(client: WebClient) List[Dict][source]#

get channel list.

Parameters:

client (WebClient) – client. If use this via any Client Class, self is automatically set. Thus, ignore this.

Yields:

List[Dict] – List of channel info. The details of channel info is listed: https://api.slack.com/types/channel (see the dictionary corresponding to channel key.)