SlackChannelProperties interface

The parameters to provide for the Slack channel.

Properties

clientId

The Slack client id

clientSecret

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

isEnabled

Whether this channel is enabled for the bot

isValidated

Whether this channel is validated for the bot NOTE: This property will not be serialized. It can only be populated by the server.

landingPageUrl

The Slack landing page Url

lastSubmissionId

The Sms auth token NOTE: This property will not be serialized. It can only be populated by the server.

redirectAction

The Slack redirect action NOTE: This property will not be serialized. It can only be populated by the server.

registerBeforeOAuthFlow

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

scopes

The Slack permission scopes.

signingSecret

The Slack signing secret.

verificationToken

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

Property Details

clientId

The Slack client id

clientId?: string

Property Value

string

clientSecret

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

clientSecret?: string

Property Value

string

isEnabled

Whether this channel is enabled for the bot

isEnabled: boolean

Property Value

boolean

isValidated

Whether this channel is validated for the bot NOTE: This property will not be serialized. It can only be populated by the server.

isValidated?: boolean

Property Value

boolean

landingPageUrl

The Slack landing page Url

landingPageUrl?: string

Property Value

string

lastSubmissionId

The Sms auth token NOTE: This property will not be serialized. It can only be populated by the server.

lastSubmissionId?: string

Property Value

string

redirectAction

The Slack redirect action NOTE: This property will not be serialized. It can only be populated by the server.

redirectAction?: string

Property Value

string

registerBeforeOAuthFlow

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

registerBeforeOAuthFlow?: boolean

Property Value

boolean

scopes

The Slack permission scopes.

scopes?: string

Property Value

string

signingSecret

The Slack signing secret.

signingSecret?: string

Property Value

string

verificationToken

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

verificationToken?: string

Property Value

string