text

val text: String?

Returns the concatenation of all text parts in the response.

If there are multiple candidates, returns the text from only the first one. If there are non-text parts in the response, this returns only the text parts. Parts where Part.thought is true are skipped.