From Bright Pattern Documentation
< 5.19:AgentDesktop-client-side-javascript-api-specification
Revision as of 04:01, 29 May 2024 by BpDeeplTranslateMaintenance (talk | contribs) (Updated via BpDeleteTranslateTags script)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 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

< Previous | Next >