import { type MediaAttachment } from "./media-attachment.js"; import { type Status } from "./status.js"; export interface StatusParams extends Pick { /** Content of the status */ text: string; /** IDs of media attachments */ mediaIds?: string[] | null; /** ID of the application */ applicationId: string; } /** * Represents a status that will be published at a future scheduled date. * @see https://docs.joinmastodon.org/entities/scheduledstatus/ */ export interface ScheduledStatus { /** ID of the scheduled status in the database. */ id: string; /** ID of the status in the database. */ scheduledAt: string; /** Parameters of the status */ params: StatusParams; /** Media attachments */ mediaAttachments: MediaAttachment[]; }