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.5 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { ExternalChatAttachmentDurationSeconds } from './externalChatAttachmentDurationSeconds';
import type { ExternalChatAttachmentFileId } from './externalChatAttachmentFileId';
import type { ExternalChatAttachmentHeight } from './externalChatAttachmentHeight';
import type { ExternalChatAttachmentPresentation } from './externalChatAttachmentPresentation';
import type { ExternalChatAttachmentState } from './externalChatAttachmentState';
import type { ExternalChatAttachmentWidth } from './externalChatAttachmentWidth';

/**
 * One attachment of a message.
 */
export interface ExternalChatAttachment {
  /**
   * Length of audio or video in whole seconds, when declared.
   * @minimum 0
   */
  durationSeconds?: ExternalChatAttachmentDurationSeconds;
  /** The static file holding it, once ready. */
  fileId?: ExternalChatAttachmentFileId;
  /** Display filename. */
  fileName: string;
  /**
   * Pixel height, when declared.
   * @minimum 0
   */
  height?: ExternalChatAttachmentHeight;
  /** Declared MIME type. */
  mime: string;
  /** Position within the message. */
  ordinal: number;
  presentation?: ExternalChatAttachmentPresentation;
  /**
   * Declared size in bytes.
   * @minimum 0
   */
  size: number;
  /** Current state. */
  state: ExternalChatAttachmentState;
  /**
   * Pixel width of an image, sticker or video, when WhatsApp declared it.
   * @minimum 0
   */
  width?: ExternalChatAttachmentWidth;
}