Class WebhookChannel
The configuration for a Webhook channel.
Inherited Members
Namespace: Oci.OdaService.Models
Assembly: OCI.DotNetSDK.Oda.dll
Syntax
public class WebhookChannel : Channel
Properties
BotId
Declaration
[JsonProperty(PropertyName = "botId")]
public string BotId { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of the Skill or Digital Assistant that the Channel is routed to. |
OutboundUrl
Declaration
[Required(ErrorMessage = "OutboundUrl is required.")]
[JsonProperty(PropertyName = "outboundUrl")]
public string OutboundUrl { get; set; }
Property Value
Type | Description |
---|---|
string | The URL to send responses to. |
Remarks
Required
PayloadVersion
Declaration
[Required(ErrorMessage = "PayloadVersion is required.")]
[JsonProperty(PropertyName = "payloadVersion")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WebhookPayloadVersion? PayloadVersion { get; set; }
Property Value
Type | Description |
---|---|
WebhookPayloadVersion? | The version for payloads. |
Remarks
Required
WebhookUrl
Declaration
[Required(ErrorMessage = "WebhookUrl is required.")]
[JsonProperty(PropertyName = "webhookUrl")]
public string WebhookUrl { get; set; }
Property Value
Type | Description |
---|---|
string | The URL to use to send messages to this channel. This will be generally be used to configure a webhook in a 3rd party messaging system to send messages to this channel. |
Remarks
Required