public class LaunchCallRequest extends AbstractBceRequest
Contains parameters to lauch a voice call. user must specify the target number and the call's show number.
The type is only support 0 for now means only text template can supported. So user must use Console to initiate text template first then can make call.
Template parameters is some key-value pairs and the key must be pre-setted on Console.
| Constructor and Description |
|---|
LaunchCallRequest() |
| Modifier and Type | Method and Description |
|---|---|
LaunchCallRequest |
addTemplateParameter(String name,
String value) |
LaunchCallRequest |
withRequestCredentials(BceCredentials credentials) |
getRequestCredentials, setRequestCredentialspublic LaunchCallRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestpublic LaunchCallRequest addTemplateParameter(String name, String value)
Copyright © 2021. All rights reserved.