MessagePreviewEntity

data class MessagePreviewEntity(val id: String, val conversationId: QualifiedIDEntity, val content: MessagePreviewEntityContent, val date: String, val visibility: MessageEntity.Visibility, val isSelfMessage: Boolean, val senderUserId: QualifiedIDEntity)

Simplified model of MessageEntity used everywhere where there is no need to have all the fields for example in conversation list or notifications

Constructors

Link copied to clipboard
constructor(id: String, conversationId: QualifiedIDEntity, content: MessagePreviewEntityContent, date: String, visibility: MessageEntity.Visibility, isSelfMessage: Boolean, senderUserId: QualifiedIDEntity)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val date: String
Link copied to clipboard
val id: String
Link copied to clipboard
val isSelfMessage: Boolean
Link copied to clipboard
Link copied to clipboard