CommandsService
sma chat
Chat service actions (status/test/reconnect/send/react/context/history)
sma chat
Send messages, react to messages, inspect context, and read chat history.
Hierarchy note:
sma chatis a service action command, not a top-level command. Top-level entry issma service.
Usage
sma chat <subcommand> [options]Subcommands
status: show channel link statustest: run channel connectivity checksreconnect: reconnect channels (all by default, or one channel)send: send messagereact: react to message (primarily Telegram)context: view conversation context snapshothistory: read chat history
status/test/reconnect key options
--channel <telegram|feishu|qq>: run against one channel only (all channels if omitted)
send key options
--text <text>: message body--stdin: read message body from stdin--text-file <file>: read message body from file--chat-key <chatKey>: target conversation--delay <ms>: delayed send--time <time>: scheduled send (unix sec/ms or ISO)--reply: send asreply_to_message
react key options
--emoji <emoji>: emoji, default ๐--message-id <id>: target message ID--chat-key <chatKey>: target conversation--big: Telegram large emoji (is_big)
history key options
--chat-key <chatKey>--context-id <contextId>--limit <n>--direction <all|inbound|outbound>--before-ts <ts>/--after-ts <ts>(milliseconds)
Examples
sma chat send --chat-key telegram-chat-123 --text "done"
sma chat react --chat-key telegram-chat-123 --emoji "โ
"
sma chat context --chat-key telegram-chat-123
sma chat history --chat-key telegram-chat-123 --limit 50
sma chat status
sma chat test --channel telegram
sma chat reconnect --channel qqNotes
This command group usually requires an active agent runtime:
sma agent on