Methods
getById
- getById(id: string): Promise<IMessage | undefined>
-
Parameters
Returns Promise<IMessage | undefined>
getRoom
- getRoom(messageId: string): Promise<IRoom | undefined>
-
Parameters
Returns Promise<IRoom | undefined>
getSenderUser
- getSenderUser(messageId: string): Promise<IUser | undefined>
-
Parameters
Returns Promise<IUser | undefined>
This accessor provides methods for accessing messages in a read-only-fashion.