slack_transfer.functions.upload.create_all_channels#
- slack_transfer.functions.upload.create_all_channels(client: UploaderClientABC, channel_names: Optional[List[str]] = None, name_mappings: Optional[Dict[str, str]] = None) None[source]#
create all channels or specified channels. In this process, channel purpose and description are also set.
- Parameters
client (UploaderClientABC) – uploader client. If use this via any UploaderClient Class, self is automatically set. Thus, ignore this.
channel_names (List[str]; Optional; default=None) – list of channels to be made.
name_mappings (Dict[str, str]; Optional; default=None) – You can set name mappings between the channel names of the original and destination workspaces. For example,
{"old_name1": "new_name1", "old_name2": "new_name2"}.