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...") |
(Updated via BpDeleteTranslateTags script) |
||
Line 1: | Line 1: | ||
− | + | ||
=consultCall= | =consultCall= | ||
Line 38: | Line 38: | ||
''null'' | ''null'' | ||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 04:01, 29 May 2024
• 5.19
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