Retrieves an array of messages from the specified room.
The unique identifier of the room from which to retrieve messages.
Optional
options: Partial<GetMessagesOptions>Optional parameters for retrieving messages: - limit: The maximum number of messages to retrieve. Maximum 100 - skip: The number of messages to skip (for pagination). - sort: An object defining the sorting order of the messages. Each key is a field to sort by, and the value is either "asc" for ascending order or "desc" for descending order.
A Promise that resolves to an array of IMessage objects representing the messages in the room.
Generated using TypeDoc
This accessor provides methods for accessing rooms in a read-only-fashion.