Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class TelephonyTransferCall.
Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
Generated from protobuf message google.cloud.dialogflow.v2.ResponseMessage.TelephonyTransferCall
Namespace
Google \ Cloud \ Dialogflow \ V2 \ ResponseMessageMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ phone_number |
string
Transfer the call to a phone number in E.164 format. |
↳ sip_uri |
string
Transfer the call to a SIP endpoint. |
getPhoneNumber
Transfer the call to a phone number in E.164 format.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasPhoneNumber
setPhoneNumber
Transfer the call to a phone number in E.164 format.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSipUri
Transfer the call to a SIP endpoint.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasSipUri
setSipUri
Transfer the call to a SIP endpoint.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEndpoint
| Returns | |
|---|---|
| Type | Description |
string |
|