Reference Commands

line messages

Read recent messages. CHAT is a full ID or unique exact name; quote names with spaces. In a terminal, a missing or unclear CHAT opens a chooser. Reading never sends read receipts; use line read for that.

Usage#

Terminal
line messages CHAT [options]

History#

OptionDescription
--limit Nmaximum messages to fetch (1–100) (default 20)
--pagereturn a JSON history page with continuation cursor (requires --json)
--cursor CURSORcontinue a history page (requires --page --json)

Output#

OptionDescription
--jsonwrite JSON to stdout
--detailsinclude safe decoded content in a versioned envelope (requires --json)
--resolve-namesresolve sender names in batches (requires --details --json)
--show-idsshow message IDs in human output
--diagnosticsreport recent-history IDs and counts before decryption, without content (requires --json; excludes --details/--page)

Request#

OptionDescription
--timeout DURATIONcommand deadline including preparation, e.g. 30s; 0 disables it

Examples#

Terminal
line messages "Alice"
line messages CHAT_ID --json --limit 50
line messages CHAT_ID --page --json --cursor 'NEXT_CURSOR'