Class: Queue

WTAPI.QueuesPlugin.Queue()

new Queue()

Source:

Methods

getId() → {String}

Gets a queue unique identity
Source:
Returns:
Type
String

getId() → {string}

Returns unique id of current Queue
Source:
Returns:
Type
string

getMember(location) → {QueueMember}

Gets a member by location
Parameters:
Name Type Description
location
Source:
Returns:
Type
QueueMember

getMembers() → {Array}

Gets a list of members (agents) that are in queue
Source:
Returns:
Type
Array

getName() → {string}

Returns name of current Queue
Source:
Returns:
Type
string

getUser(channel) → {QueueUser}

Gets User using his channel identity
Parameters:
Name Type Description
channel
Source:
Returns:
Type
QueueUser

getUsers() → {Array}

Gets users that a calling to queue
Source:
Returns:
Type
Array