Documentation
Framework
Version
Class References
Function References
Interface References
Type Alias References
Variable References

AudioPart

Interface: AudioPart<TMetadata>

Defined in: types.ts:63

Audio content part for multimodal messages.

Type Parameters

TMetadata

TMetadata = unknown

Provider-specific metadata type

Properties

metadata?

ts
optional metadata: TMetadata;
optional metadata: TMetadata;

Defined in: types.ts:68

Provider-specific metadata (e.g., format, sample rate)


source

ts
source: ContentPartSource;
source: ContentPartSource;

Defined in: types.ts:66

Source of the audio content


type

ts
type: "audio";
type: "audio";

Defined in: types.ts:64