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

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

/**
 * @example
 *     {
 *         id: 1,
 *         display_as: "plaintext",
 *         read: true,
 *         title: "new conversation title",
 *         custom_attributes: {
 *             "issue_type": "Billing",
 *             "priority": "High"
 *         }
 *     }
 *
 * @example
 *     {
 *         id: 1,
 *         display_as: "plaintext",
 *         custom_attributes: {
 *             "order": {}
 *         }
 *     }
 *
 * @example
 *     {
 *         id: 1,
 *         display_as: "plaintext",
 *         read: true,
 *         title: "new conversation title",
 *         custom_attributes: {
 *             "issue_type": "Billing",
 *             "priority": "High"
 *         }
 *     }
 */
export interface UpdateConversationRequest {
    /** The id of the conversation to target */
    id: number;
    /** Set to plaintext to retrieve conversation messages in plain text. This affects both the body and subject fields. */
    display_as?: string;
    /** Mark a conversation as read within Intercom. */
    read?: boolean;
    /** The title given to the conversation */
    title?: string;
    custom_attributes?: Intercom.unstable.CustomAttributes;
    /** The ID of the company that the conversation is associated with. The unique identifier for the company which is given by Intercom. Set to nil to remove company. */
    company_id?: string;
}
