A2AChat Class Fields

The following are the A2AChat fields.

Description

The address containing the agent-to-agent chat.

Type: A2AChatAddress object.

Description

The associated agent's ID.

Type: string.

Description

The associated agent's name.

Type: string.

Description

The application data that is provided to the client with the notification event.

Type: AppData object.

Description

The type of chat, either A2AChat.TYPE_CONSULT or A2AChat.TYPE_ANSWER.

Type: string, with one of the following constants:

Value

Description

TYPE_ANSWER

The A2AChat type answer. This type is generated when another agent wants this agent to answer an A2AChat.

TYPE_CONSULT

The A2AChat type consult. This type is generated when this agent wants to consult another agent.

Example

The A2AChat.TYPE_* can only be accessed as in the following example:

var value = A2AChat.TYPE_CONSULT;

Description

The name of the customer in the ongoing chat.

Type: object.

Description

The ID of this chat.

Type: string.

Description

A flag to check whether it is conference or not.

Type: object.

Description

JournalRoute

Type: string.

Description

Question that is asked when customer initiates chat.

Type: object.

Description

Subject of the chat. Customer will provide this subject when he initiates chat.

Type: object.

Description

The task type, chat.

Type: string.

Description

The unique ID.

Type: string.