// This file was auto-generated by Fern from our API Definition.

import type * as Intercom from "../../../index.js";

/**
 * Payload of the request to reply on behalf of an admin
 */
export interface AdminReplyConversationRequest {
    message_type: AdminReplyConversationRequest.MessageType;
    type: "admin";
    /** The text body of the reply. Notes accept some HTML formatting. Must be present for comment and note message types. */
    body?: string;
    /** The id of the admin who is authoring the comment. */
    admin_id: string;
    /** The time the reply was created. If not provided, the current time will be used. */
    created_at?: number;
    /** The quick reply options to display to the end user. Must be present for quick_reply message types. */
    reply_options?: Intercom.unstable.QuickReplyOption[];
    /** A list of image URLs that will be added as attachments. You can include up to 10 URLs. */
    attachment_urls?: string[];
    /** A list of files that will be added as attachments. You can include up to 10 files */
    attachment_files?: Intercom.unstable.ConversationAttachmentFiles[];
}

export namespace AdminReplyConversationRequest {
    export const MessageType = {
        Comment: "comment",
        Note: "note",
        QuickReply: "quick_reply",
    } as const;
    export type MessageType = (typeof MessageType)[keyof typeof MessageType];
}
