cohit's picture
Upload folder using huggingface_hub
0827183 verified
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
class SlackClientOptions:
"""
Defines the implementation of the SlackClient options.
"""
def __init__(
self,
slack_verification_token: str,
slack_bot_token: str,
slack_client_signing_secret: str,
):
"""
Initializes a new instance of SlackClientOptions.
:param slack_verification_token: A token for validating the origin of incoming webhooks.
:type slack_verification_token: str
:param slack_bot_token: A token for a bot to work on a single workspace.
:type slack_bot_token: str
:param slack_client_signing_secret: The token used to validate that incoming webhooks originated from Slack.
:type slack_client_signing_secret: str
"""
self.slack_verification_token = slack_verification_token
self.slack_bot_token = slack_bot_token
self.slack_client_signing_secret = slack_client_signing_secret
self.slack_client_id = None
self.slack_client_secret = None
self.slack_redirect_uri = None
self.slack_scopes = [str]