The kind of Message. This is used as the top-level discriminator of the
Message union. Each value corresponds to a concrete message subtype
(ChatMessage, SystemMessage, …) with its own body shape and any
type-specific fields.
Chat message authored by an agent or types of authors.
SYSTEM
SYSTEM:"system"
Server-generated, pre-formatted notification (e.g. "Agent answered the call").
System messages can be authored by authors other than the SYSTEM itself.
The kind of Message. This is used as the top-level discriminator of the Message union. Each value corresponds to a concrete message subtype (
ChatMessage,SystemMessage, …) with its own body shape and any type-specific fields.