Returns the conversations in the inbox.
It includes all conversations independent of the tabs inside the inbox.
The conversations in the inbox
UnbluApiError with type UnbluErrorType.ILLEGAL_STATE when the API instance is deinitialized.
Get the metadata of the conversation. Metadata access to the conversation has to be allowed via configuration of the conversation.
The ID of the conversation for which the metadata should be retrieved
The conversation metadata
UnbluApiError with type UnbluErrorType.ILLEGAL_STATE when the API instance is deinitialized.
UnbluApiError with type UnbluErrorType.ACTION_NOT_GRANTED when there is no permission to access the metadata.
Removes a previously registered listener
The event to unregister from.
The listener to remove.
UnbluApiError with type UnbluErrorType.ILLEGAL_STATE when the API instance is deinitialized.
Registers an event listener for the given event.
The conversationsChanged event.
The listener to be called.
UnbluApiError with type UnbluErrorType.ILLEGAL_STATE when the API instance is deinitialized.
Registers an event listener for the given event.
The conversationAdded event.
The listener to be called.
UnbluApiError with type UnbluErrorType.ILLEGAL_STATE when the API instance is deinitialized.
Registers an event listener for the given event.
The conversationRemoved event.
The listener to be called.
UnbluApiError with type UnbluErrorType.ILLEGAL_STATE when the API instance is deinitialized.
Static ReadonlyCONVERSATION_Event emitted whenever a conversation is added to the inbox.
conversationAdded
Static ReadonlyCONVERSATION_Event emitted whenever a conversation is removed from the inbox.
conversationRemoved
Static ReadonlyCONVERSATIONS_Event emitted whenever a conversation is added to, removed from, or changed in the inbox.
conversationsChanged
This class provides functionality around the agent inbox. The inbox contains the conversations that the agent is participating in.