chainabit agent room history
Published (2.2.0)
This command is not included in Published (2.2.0). It is available in Development (2.2.0).
Development (2.2.0)
Read text messages in this room
Synopsis
chainabit agent room history <roomId> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<roomId> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--cursor <seq> | Continue from a previous page | — |
--work-updates | Read shared work updates in this room | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Reads the text messages of one room, 50 per page. With --work-updates, reads the shared work updates posted in the room instead of its text messages.
When more messages exist, the human output prints the command for the next page and --cursor continues from it. A --cursor that is not a positive whole number is refused before anything is read, as is a room ID that is not valid.
Reading leaves the room unchanged.
Output
A table with the message number (#) and its text. With --json the output contains data, an array of messages with seq and text, and meta with hasNextPage and nextCursor. nextCursor is null on the last page.
Authentication and permissions
You must be signed in and able to read the room.
Examples
chainabit agent room history 00000000-0000-4000-8000-000000000001
chainabit agent room history 00000000-0000-4000-8000-000000000001 --work-updates