import type * as Whop from "../../../../index.js"; /** * @example * { * message_text: "message_text" * } */ export interface CreateAiChatsRequest { /** The AI agent that handles the chat. Defaults to `support`. */ agent_identifier?: Whop.AiChatAgentIdentifiers | null; /** The unique identifier of the account to set as context for the AI chat (e.g., "biz_XXXXX"). */ current_account_id?: string | null; /** A list of previously uploaded file attachments to include with the first message. */ message_attachments?: CreateAiChatsRequest.MessageAttachments.Item[] | null; /** The source of the message. */ message_source?: Whop.AiChatMessageSourceTypes | null; /** The text content of the first message to send to the AI agent. */ message_text: string; /** The type of suggestion prompt that was clicked, when message_source is 'suggestion'. */ suggestion_type?: string | null; /** An optional display title for the AI chat thread (e.g., "Help with billing"). */ title?: string | null; } export declare namespace CreateAiChatsRequest { type MessageAttachments = MessageAttachments.Item[]; namespace MessageAttachments { /** * Input for an attachment */ interface Item { /** The ID of an existing file object. */ id: string; } } }