public class MessageRole extends Object
| Modifier and Type | Field and Description |
|---|---|
static MessageRole |
ASSISTANT
Indicates that the content of the message is sent by the bot.
|
static MessageRole |
UNKNOWN |
static MessageRole |
USER
Indicates that the content of the message is sent by the user.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageRole |
fromString(String value) |
String |
getValue() |
public static final MessageRole UNKNOWN
public static final MessageRole USER
public static final MessageRole ASSISTANT
public String getValue()
public static MessageRole fromString(String value)
Copyright © 2025. All rights reserved.