ArmBotServiceModelFactory.SlackChannelProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SlackChannelProperties.
public static Azure.ResourceManager.BotService.Models.SlackChannelProperties SlackChannelProperties (string clientId = default, string clientSecret = default, string verificationToken = default, string scopes = default, Uri landingPageUri = default, string redirectAction = default, string lastSubmissionId = default, bool? registerBeforeOAuthFlow = default, bool? isValidated = default, string signingSecret = default, bool isEnabled = false);
static member SlackChannelProperties : string * string * string * string * Uri * string * string * Nullable<bool> * Nullable<bool> * string * bool -> Azure.ResourceManager.BotService.Models.SlackChannelProperties
Public Shared Function SlackChannelProperties (Optional clientId As String = Nothing, Optional clientSecret As String = Nothing, Optional verificationToken As String = Nothing, Optional scopes As String = Nothing, Optional landingPageUri As Uri = Nothing, Optional redirectAction As String = Nothing, Optional lastSubmissionId As String = Nothing, Optional registerBeforeOAuthFlow As Nullable(Of Boolean) = Nothing, Optional isValidated As Nullable(Of Boolean) = Nothing, Optional signingSecret As String = Nothing, Optional isEnabled As Boolean = false) As SlackChannelProperties
Parameters
- clientId
- String
The Slack client id.
- clientSecret
- String
The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.
- verificationToken
- String
The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.
- scopes
- String
The Slack permission scopes.
- landingPageUri
- Uri
The Slack landing page Url.
- redirectAction
- String
The Slack redirect action.
- lastSubmissionId
- String
The Sms auth token.
Whether to register the settings before OAuth validation is performed. Recommended to True.
- signingSecret
- String
The Slack signing secret.
- isEnabled
- Boolean
Whether this channel is enabled for the bot.
Returns
A new SlackChannelProperties instance for mocking.