User
data class User @JvmOverloads constructor(val parts: List<ContentPart>, val metaInfo: RequestMetaInfo) : Message.Request(source)
Represents a message sent by the user as a request.
Constructors
Properties
Link copied to clipboard
The textual content of the message aggregated from all ContentPart.Text parts joined to String separated by newlines.
Link copied to clipboard
Metadata associated with the request, including timestamp information. Defaults to a new RequestMetaInfo.
Link copied to clipboard
The parts of the user's message.
Link copied to clipboard
The role of the message, which is fixed as Role.User for this implementation.