From Bright Pattern Documentation
Jump to: navigation, search
(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)

Latest revision as of 13:56, 16 September 2022

• 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 >