Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Document Cognition Service
* OpenAPI spec version: 1.0.0
*/
import type { ChatMessageContent } from './chatMessageContent';
import type { Entity } from './entity';
import type { Role } from './role';
export interface ChatMessageWithAttachments {
/** The ids of the attachments used to generate the message */
attachments: Entity[];
/** Message content */
content: ChatMessageContent;
/** The chat message id */
id: string;
/** Whether the chat is from the user or system */
role: Role;
}