Read messages in a room
get_messagesRead decrypted messages from a Rocket.Chat room, oldest-first per page, with cursor-based paging and optional thread replies.
Instructions
Read messages of one room, decrypted, oldest-first within the returned page (newest page by default). Each message has id, ts, author, text, thread_id/reply_count, attachments and a permalink. Page backwards with before = the returned older_than_cursor. Thread replies are excluded unless include_thread_replies is true (use get_thread for a whole thread). The room is synced incrementally before reading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | Yes | Room id, room name (e.g. "dev-handbook"), display name, or "@username" for a direct message. | |
| after | No | Only messages at or after this instant. | |
| limit | No | Messages to return (default 30, max 200). | |
| before | No | Only messages strictly before this instant (pass older_than_cursor to page back). | |
| include_thread_replies | No | Also include replies that live in threads. |