toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.chat
/
TextPart
Text
Part
@
Serializable
@
SerialName
(
value
=
"text"
)
data
class
TextPart
(
val
text
:
String
)
:
ContentPart
Text content part.
Parameters
text
the text content.
Members
Constructors
Text
Part
Link copied to clipboard
constructor
(
text
:
String
)
Properties
text
Link copied to clipboard
@
SerialName
(
value
=
"text"
)
val
text
:
String