AudioContent: {
    channels?: number;
    data?: string;
    mime_type?: AudioContentMimeType;
    sample_rate?: number;
    type: "audio";
    uri?: string;
}

An audio content block.

Type declaration

  • Optionalchannels?: number

    The number of audio channels.

  • Optionaldata?: string

    The audio content.

  • Optionalmime_type?: AudioContentMimeType

    The mime type of the audio.

  • Optionalsample_rate?: number

    The sample rate of the audio.

  • type: "audio"
  • Optionaluri?: string

    The URI of the audio.