Unsubscribe the listener registered with Messages.subscribe from message events.
Get the previous messages that were sent to the room before the listener was subscribed.
Options for the history query.
A promise that resolves with the paginated result of messages, in newest-to-oldest order.
A response object that allows you to control a message subscription.