From Bright Pattern Documentation
(Created page with "<translate> =consultCall= Performs an internal call to a specified call center party. ==Request== ''Syntax'' {| class="wikitable" |consultCall(phone: string): Promise<Opera...") |
(No difference)
|
Revision as of 13:56, 16 September 2022
• 5.19
<translate>
consultCall
Performs an internal call to a specified call center party.
Request
Syntax
consultCall(phone: string): Promise<OperationResult<null>> |
Parameters
Parameter | Parameter Values | Data Type | Optional/Required | Description |
phone | String | Required | The call center party’s internal phone number (e.g., an extension) |
Example Request
consultCallButton.onclick = () => {
const phoneNumber = transferPhoneNumberInput.value
adApi.consultCall(phoneNumber)
}
Return Value
null
</translate>