-
public final class ChatMessage
-
-
Field Summary
Fields Modifier and Type Field Description private final MessageRoleroleprivate final Stringcontent
-
Constructor Summary
Constructors Constructor Description ChatMessage(MessageRole role, String content)
-
Method Summary
Modifier and Type Method Description final MessageRolegetRole()final StringgetContent()-
-
Constructor Detail
-
ChatMessage
ChatMessage(MessageRole role, String content)
-
-
Method Detail
-
getRole
final MessageRole getRole()
-
getContent
final String getContent()
-
-
-
-