IUserMessage interface
Home > @cbnsndwch/zrocket-contracts > IUserMessage
IUserMessage interface
Signature:
interface IUserMessage extends IMessageBaseExtends: IMessageBase
Properties
Property
Modifiers
Type
Description
(Optional) Attachments of the message, if any
SerializedEditorState
The message contents, in Lexical JSON format
boolean
(Optional) Whether the message can be grouped with other messages from the same user
boolean
(Optional) Whether the message is pinned in the room
Date
(Optional) If the messages is pinned, the date and time it was pinned
(Optional) If the messages is pinned, the user who pinned it
Record<string, IMessageReaction>
(Optional) A map of reaction emojis to the list of user ids that have reacted with that emoji
string[]
(Optional) List of user ids that have replied to this message
Required<IUserSummary> & Partial<IHasName>
The user who sent the message
string[]
(Optional) List of user ids that have reacted to this message
boolean
(Optional) Whether the message is has not been viewed by the users in the room
How was this page?