SlackChannel Class
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.
Slack channel definition
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.SlackChannelTypeConverter))]
public class SlackChannel : Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.ISlackChannel, Microsoft.Azure.PowerShell.Cmdlets.BotService.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.SlackChannelTypeConverter))>]
type SlackChannel = class
interface ISlackChannel
interface IJsonSerializable
interface IChannel
interface IValidates
Public Class SlackChannel
Implements ISlackChannel, IValidates
- Inheritance
-
SlackChannel
- Attributes
- Implements
Constructors
SlackChannel() |
Creates an new SlackChannel instance. |
Properties
ClientId |
The Slack client id |
ClientSecret |
The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty. |
Etag |
Entity Tag of the resource |
IsEnabled |
Whether this channel is enabled for the bot |
IsValidated |
Whether this channel is validated for the bot |
LandingPageUrl |
The Slack landing page Url |
LastSubmissionId |
The Sms auth token |
Location |
Specifies the location of the resource. |
Name |
The channel name |
ProvisioningState |
Provisioning state of the resource |
RedirectAction |
The Slack redirect action |
RegisterBeforeOAuthFlow |
Whether to register the settings before OAuth validation is performed. Recommended to True. |
Scope |
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. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of SlackChannel. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of SlackChannel. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.ISlackChannel. |
FromJsonString(String) |
Creates a new instance of SlackChannel, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of SlackChannel into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |