IRoomBase interface
Home > @cbnsndwch/zrocket-contracts > IRoomBase
IRoomBase interface
A base data contract for room entities.
Signature:
interface IRoomBase<TType extends RoomType = RoomType> extends IEntityBaseExtends: IEntityBase
Properties
Property
Modifiers
Type
Description
(Optional) The last message sent in the room.
Date
(Optional) The timestamp of the last message sent in the room.
string[]
The IDs of the users in the room.
number
The total number of messages in the room.
(Optional) The message types that should be treated as system messages for this room.
TType
The type of the room.
string[]
The usernames of the users in the room
How was this page?