toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.core
/
Role
Role
@
JvmInline
@
Serializable
value
class
Role
(
val
role
:
String
)
The role of the author of a message.
Members
Constructors
Role
Link copied to clipboard
constructor
(
role
:
String
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
role
Link copied to clipboard
val
role
:
String