/** * This file was auto-generated by Fern from our API Definition. */ import * as Flatfile from "../../../index"; /** * A collection of messages, typically as a response to listing messages in a thread * * @example * { * data: [{ * id: "us_msg_123abc", * threadId: "us_th_456def", * content: { * "text": "Hello!" * }, * createdAt: "2025-04-01T10:30:00Z", * updatedAt: "2025-04-01T10:30:00Z", * role: Flatfile.MessageRole.User * }, { * id: "us_msg_789ghi", * threadId: "us_th_456def", * content: { * "text": "How can I help you today?" * }, * createdAt: "2025-04-01T10:30:15Z", * updatedAt: "2025-04-01T10:30:15Z", * role: Flatfile.MessageRole.Assistant * }] * } */ export interface MessageCollection { data: Flatfile.MessageModel[]; }