TextPart

constructor(text: String)(source)


constructor(text: String, speechMetadata: SpeechMetadata)(source)

A text part with speechMetadata, how the model speaks text when it generates speech.