ChannelProfile

ChannelProfile 會設定代理程式在特定通訊管道 (例如網頁 UI 或電話) 的行為。

JSON 表示法
{
  "profileId": string,
  "channelType": enum (ChannelProfile.ChannelType),
  "personaProperty": {
    object (ChannelProfile.PersonaProperty)
  },
  "webWidgetConfig": {
    object (ChannelProfile.WebWidgetConfig)
  },
  "whatsappConfig": {
    object (ChannelProfile.WhatsAppConfig)
  },
  "instagramConfig": {
    object (ChannelProfile.InstagramConfig)
  },
  "disableDtmf": boolean,
  "disableBargeInControl": boolean,
  "noiseSuppressionLevel": string
}
欄位
profileId

string

選用。頻道設定檔的專屬 ID。

channelType

enum (ChannelProfile.ChannelType)

選用。管道設定檔類型。

personaProperty

object (ChannelProfile.PersonaProperty)

選用。頻道個人資料的 persona 屬性。

webWidgetConfig

object (ChannelProfile.WebWidgetConfig)

選用。網頁小工具的設定。

whatsappConfig

object (ChannelProfile.WhatsAppConfig)

選用。WhatsApp 部署作業專用設定。

instagramConfig

object (ChannelProfile.InstagramConfig)

選用。Instagram 部署作業專用設定。

disableDtmf

boolean

選用。是否停用雙音多頻 (DTMF)。

disableBargeInControl

boolean

選用。是否要在對話中停用使用者插話控制項。- true:代理程式說話時,系統會停用使用者中斷功能。- false:代理程式會保留自動控制權,決定使用者何時可以中斷。

noiseSuppressionLevel

string

選用。頻道設定檔的雜訊抑制等級。可用值為「low」、「moderate」、「high」、「very_high」。

ChannelProfile.ChannelType

管道設定檔類型。

列舉
UNKNOWN 管道類型不明。
WEB_UI 網頁版使用者介面管道。
API API 管道。
TWILIO Twilio 管道。
GOOGLE_TELEPHONY_PLATFORM Google Telephony Platform 頻道。
CONTACT_CENTER_AS_A_SERVICE Contact Center as a Service (CCaaS) 管道。
CONTACT_CENTER_AS_A_SERVICE_CHAT Contact Center as a Service (CCaaS Chat) 管道。
FIVE9 Five9 頻道。
CONTACT_CENTER_INTEGRATION 第三方客服中心整合管道。
WHATSAPP WhatsApp 頻道。
INSTAGRAM Instagram 頻道。

ChannelProfile.PersonaProperty

代表頻道的角色屬性。

JSON 表示法
{
  "persona": enum (ChannelProfile.PersonaProperty.Persona)
}
欄位
persona

enum (ChannelProfile.PersonaProperty.Persona)

選用。頻道的角色。

ChannelProfile.PersonaProperty.Persona

頻道的角色。

列舉
UNKNOWN UNKNOWN persona。
CONCISE 代理會簡明扼要地回覆
CHATTY 服務專員提供額外背景資訊、說明和詳細資料

ChannelProfile.WebWidgetConfig

網頁小工具設定訊息。

JSON 表示法
{
  "modality": enum (ChannelProfile.WebWidgetConfig.Modality),
  "theme": enum (ChannelProfile.WebWidgetConfig.Theme),
  "webWidgetTitle": string,
  "securitySettings": {
    object (ChannelProfile.WebWidgetConfig.SecuritySettings)
  }
}
欄位
modality

enum (ChannelProfile.WebWidgetConfig.Modality)

選用。網頁小工具的模式。

theme

enum (ChannelProfile.WebWidgetConfig.Theme)

選用。網頁小工具的主題。

webWidgetTitle

string

選用。網頁小工具的標題。

securitySettings

object (ChannelProfile.WebWidgetConfig.SecuritySettings)

選用。網頁小工具的安全設定。

ChannelProfile.WebWidgetConfig.Modality

網頁小工具的模式。

列舉
MODALITY_UNSPECIFIED 不明模式。
CHAT_AND_VOICE 小工具支援即時通訊和語音輸入。
VOICE_ONLY 小工具僅支援語音輸入。
CHAT_ONLY 小工具僅支援輸入文字。
CHAT_VOICE_AND_VIDEO 小工具支援即時通訊、語音和視訊輸入。

ChannelProfile.WebWidgetConfig.Theme

網頁小工具的主題。

列舉
THEME_UNSPECIFIED 不明主題。
LIGHT 淺色主題。
DARK 深色主題。

ChannelProfile.WebWidgetConfig.SecuritySettings

網頁小工具的安全設定。

JSON 表示法
{
  "enablePublicAccess": boolean,
  "enableOriginCheck": boolean,
  "allowedOrigins": [
    string
  ],
  "enableRecaptcha": boolean
}
欄位
enablePublicAccess

boolean

選用。指出是否已啟用網頁小工具的公開存取權。如果設為 true,網頁小工具就會公開。如為 false,網頁小工具必須與您自己的驗證和授權系統整合,才能傳回存取 CES 服務專員的有效憑證。

enableOriginCheck

boolean

選用。指出是否已啟用網頁小工具的來源檢查。如果 true,網頁小工具會檢查載入網頁小工具的網站來源,只允許在相同來源或任何允許的來源中載入。

allowedOrigins[]

string

選用。允許託管網頁小工具的來源。來源的定義請參閱 RFC 6454。如果留空,系統會允許所有來源。最多只能有 100 個來源。例如:「https://example.com」

enableRecaptcha

boolean

選用。指出是否已啟用網頁小工具的 reCAPTCHA 驗證。

ChannelProfile.WhatsAppConfig

WhatsApp 部署作業專用設定。

JSON 表示法
{
  "wabaId": string,
  "phoneNumberId": string,
  "phoneNumber": string,
  "displayName": string,
  "thumbnailUrl": string,
  "description": string
}
欄位
wabaId

string

這是必要旗標,WhatsApp Business 帳戶 ID。

phoneNumberId

string

這是必要旗標,Meta 電話號碼 ID。

phoneNumber

string

選用。電話號碼,格式為 E.164。

displayName

string

僅供輸出。擷取的 Meta 企業專頁名稱。

thumbnailUrl

string

僅供輸出。擷取的 Meta 商家檔案縮圖網址。

description

string

僅供輸出。Meta 企業專頁或個人檔案的說明。

ChannelProfile.InstagramConfig

Instagram 部署作業專用設定。

JSON 表示法
{
  "instagramAccountId": string,
  "displayName": string,
  "thumbnailUrl": string,
  "description": string
}
欄位
instagramAccountId

string

這是必要旗標,Instagram 帳戶 ID。

displayName

string

僅供輸出。擷取的 Meta 企業專頁名稱。

thumbnailUrl

string

僅供輸出。擷取的 Meta 商家檔案縮圖網址。

description

string

僅供輸出。Meta 企業專頁或個人檔案的說明。