Skip to content

Message Model at MultiChat

This document describes the attributes of the Message model used in MultiChat application.

Message Attributes

Attribute NameTypeDescription
idstringUnique identifier (ULID)
senderstringSender of the message
receiverstringReceiver of the message
contentstringThe content of the message
isStarredbooleanIndicates if the message is starred
starredAtstring, nullTimestamp when the message was starred
readAtstring, nullTimestamp when the message was read
createdAtstring, nullMessage created date
updatedAtstring, nullMessage updated date

INFO

The sender of the message is the authenticated user.

Released under the MIT License.