From Bright Pattern Documentation
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 >