AnswerAction class
動作產生器類別,旨在簡化建置 回應動作。
建構函式
| Answer |
建立動作產生器的新實例。 |
方法
| accept |
應用程式將接受的型別。 如果沒有指定,則只會假設音訊。 |
| to |
傳回動作的 JSON 物件。 |
建構函式詳細資料
AnswerAction(CallSession)
方法詳細資料
acceptModalityTypes(string[])
應用程式將接受的型別。 如果沒有指定,則只會假設音訊。
function acceptModalityTypes(types: string[])
參數
- types
-
string[]