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

/**
 * A recipient of a message
 */
export interface Recipient {
    /** The role associated to the contact - `user` or `lead`. */
    type: Recipient.Type;
    /** The identifier for the contact which is given by Intercom. */
    id: string;
}

export namespace Recipient {
    /** The role associated to the contact - `user` or `lead`. */
    export const Type = {
        User: "user",
        Lead: "lead",
    } as const;
    export type Type = (typeof Type)[keyof typeof Type];
}
