User
data class User(val content: String, val metaInfo: RequestMetaInfo, val mediaContent: List<MediaContent> = emptyList()) : Message.Request(source)
Represents a message sent by the user as a request.
Constructors
Link copied to clipboard
constructor(content: String, metaInfo: RequestMetaInfo, mediaContent: List<MediaContent> = emptyList())
Properties
Link copied to clipboard
Optional media content attached to the message.
Link copied to clipboard
Metadata associated with the request, including timestamp information. Defaults to a new RequestMetaInfo.
Link copied to clipboard
The role of the message, which is fixed as Role.User for this implementation.