slack_transfer.functions.upload.check_channel_exists#

slack_transfer.functions.upload.check_channel_exists(client: UploaderClientABC, channel_name: str) bool[source]#

check if a channel already exists or not

Parameters:
  • client (UploaderClientABC) – uploader client. If use this via any UploaderClient Class, self is automatically set. Thus, ignore this.

  • channel_name (str) – channel name wanted to be checked.

Yields:

bool – return True if exists. Otherwise, return False.