UserMessage

data class UserMessage(var id: UUID, var type: UserMessage.Type, var content: String, var timestamp: Instant) : Serializable

Constructors

Link copied to clipboard
constructor(userModel: UserModel, message: String)
constructor(storyDataModel: StoryDataModel, message: String)
constructor(senderLogin: String?, message: String, avatarId: String?)
constructor(id: UUID, type: UserMessage.Type, content: String, timestamp: Instant)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard
lateinit var author: UserModel
Link copied to clipboard
Link copied to clipboard
var id: UUID
Link copied to clipboard
Link copied to clipboard