SlackChannelProperties Class

The parameters to provide for the Slack channel.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
SlackChannelProperties

Constructor

SlackChannelProperties(*, is_enabled: bool, client_id: Optional[str] = None, client_secret: Optional[str] = None, verification_token: Optional[str] = None, landing_page_url: Optional[str] = None, signing_secret: Optional[str] = None, **kwargs)

Parameters

client_id
str
Required

The Slack client id.

client_secret
str
Required

The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.

verification_token
str
Required

The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.

landing_page_url
str
Required

The Slack landing page Url.

signing_secret
str
Required

The Slack signing secret.

is_enabled
bool
Required

Required. Whether this channel is enabled for the bot.

Variables

redirect_action
str

The Slack redirect action.

last_submission_id
str

The Sms auth token.

register_before_o_auth_flow
bool

Whether to register the settings before OAuth validation is performed. Recommended to True.

is_validated
bool

Whether this channel is validated for the bot.