Returns the latest events in the room, walking backwards through history when dir=b. Each response carries a token to continue paging in the end or prev_batch fields. Requires membership in the room, unlike the admin messages endpoint which reads any room. This is the building block for custom chat archives and debugging.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.