Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateFacebookChannelResult

The configuration for a Facebook channel.

Properties

Optional botId

botId: undefined | string

The ID of the Skill or Digital Assistant that the Channel is routed to.

category

category: ChannelCategory

The category of the Channel.

Optional definedTags

definedTags: undefined | object

Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {@code {"foo-namespace": {"bar-key": "value"}}}

Optional description

description: undefined | string

A short description of the Channel.

Optional freeformTags

freeformTags: undefined | object

Simple key-value pair that is applied without any predefined name, type, or scope. Example: {@code {"bar-key": "value"}}

id

id: string

Unique immutable identifier that was assigned when the Channel was created.

lifecycleState

lifecycleState: LifecycleState

The Channel's current state.

name

name: string

The Channel's name. The name can contain only letters, numbers, periods, and underscores. The name must begin with a letter.

Optional sessionExpiryDurationInMilliseconds

sessionExpiryDurationInMilliseconds: undefined | number

The number of milliseconds before a session expires. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

timeCreated

timeCreated: Date

When the resource was created. A date-time string as described in RFC 3339, section 14.29.

timeUpdated

timeUpdated: Date

When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.

Const type

type: string = "FACEBOOK"

verifyToken

verifyToken: string

The Facebook verify token. This is used by Facebook when verifying the webhook channel. This is only returned this once. If it is lost the keys will need to be rotated to generate a new verify token.

webhookUrl

webhookUrl: 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.

Methods

getDeserializedJsonObj

getJsonObj