slack_transfer.functions.common.test_uploader#

slack_transfer.functions.common.test_uploader(client: WebClient) None[source]#

test connections to slack as uploader.

This test including common scope for UploaderClient. The token set to the client use this method requires the following scope:

  • channels:manage

  • files:write

  • chat:write

  • pins:write

  • bookmarks:write

  • reaction:write

If one of the scope is missing, this method rise an error. Those tests are performed step by step. It means that missing scope appears not at once.

Parameters:

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