A2AChat Class Constructor

The following is the A2AChat class constructor.

Syntax

A2AChat(event,address,chatType) 

Description

Creates an agent-to-agent chat object.

The chat is related to the A2AChatAddress. It does not extend Task as it is not generated or tracked by the universal queue server. Construction occurs inside the A2AChatAddress.

Parameters

Field or Control

Definition

event

Enter the event associated with the agent-to-agent chat.

address

Enter the address from A2AChatAddress.

chatType

Enter the chat type, for example consult or answer.

Returns

An agent-to-agent chat object.