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

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

export interface AssistantMessage {
    /** This is the role of the message author */
    role: Vapi.AssistantMessageRole;
    /** This is the content of the assistant message */
    content?: string | undefined;
    /** This is the refusal message generated by the model */
    refusal?: string | undefined;
    /** This is the tool calls generated by the model */
    tool_calls?: Vapi.ToolCall[] | undefined;
    /** This is an optional name for the participant */
    name?: string | undefined;
    /** This is an optional metadata for the message */
    metadata?: Record<string, unknown> | undefined;
}
