Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.1 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { ApiAttachmentChannelReferenceChannelName } from './apiAttachmentChannelReferenceChannelName';
import type { ApiAttachmentChannelReferenceThreadId } from './apiAttachmentChannelReferenceThreadId';

/**
 * A reference to an attachment entity from a channel message.
 */
export interface ApiAttachmentChannelReference {
  /** When the attachment row was created. */
  attachment_created_at: string;
  /** Channel that contains the message. */
  channel_id: string;
  /** Optional channel name (DMs do not have a name). */
  channel_name?: ApiAttachmentChannelReferenceChannelName;
  /** Full message content (might be used for preview/snippet). */
  message_content: string;
  /** When the message itself was created. */
  message_created_at: string;
  /** Message that contains the attachment reference. */
  message_id: string;
  /** Sender of the message. */
  sender_id: string;
  /** If the message belongs to a thread this is the parent id. */
  thread_id?: ApiAttachmentChannelReferenceThreadId;
}