Class InteractionAudioContent
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
An audio content block.
public sealed class InteractionAudioContent : InteractionMediaContent
- Inheritance
-
InteractionAudioContent
- Inherited Members
- Extension Methods
Constructors
InteractionAudioContent()
Initializes a new instance of the InteractionAudioContent class.
public InteractionAudioContent()
Properties
Channels
The number of audio channels.
[JsonPropertyName("channels")]
public int? Channels { get; set; }
Property Value
- int?
SampleRate
The sample rate of the audio.
[JsonPropertyName("sample_rate")]
public int? SampleRate { get; set; }
Property Value
- int?