Message
Type: Object
Represents a single entry in a chat conversation, such as a user's question or an AI agent's reply. In the fast-paced environment of a print shop, clear and concise communication is critical. This resource is the fundamental unit of that communication. It stores the message content, identifies the sender (whether a human user or an AI agent), and tracks the message's status—for example, whether it requires a response. By structuring each conversational turn as a distinct resource, the system can reliably process, display, and archive the entire dialogue, ensuring that no information is lost and that the AI can respond intelligently and contextually.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| conversation | Conversation! | |||
| conversationId | ID! | |||
| createdAt | DateTime! | |||
| id | ID! | |||
| response | Message | |||
| responseTo | Message | |||
| responseToId | ID | |||
| source | String! | |||
| text | String! | |||
| updatedAt | DateTime! |