Class: Contact

Contact(param)

Class representing a Contact. This object is used to represent phone system contact or any call target

Constructor

new Contact(param)

Create a Contact.
Parameters:
Name Type Description
param object
Properties
Name Type Attributes Description
id string <optional>
The unique contactId
type "PhoneBook" | "Queue" | "PhoneNumber" | "Agent" <optional>
The type of the contact, one of the CONTACT_TYPE values
name string <optional>
The label for this contact to be displayed in the UI
phoneNumber string <optional>
The phone number associcated with this contact
prefix string <optional>
Any prefix to be dialed before dialing the number (i.e. +1)
extension string <optional>
Any extension to be dialed after dialing the number
endpointARN string <optional>
queue string <optional>
availability string <optional>
recordId string <optional>
Salesforce RecordId
description string <optional>
Contact Description
queueWaitTime string <optional>
Estimated Queue Wait Time
Source:

Classes

Contact