mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 10:04:46 +00:00
refactor(channels): decouple presentation rendering
This commit is contained in:
@@ -16,15 +16,11 @@ export function registerMessageSendCommand(message: Command, helpers: MessageCli
|
||||
"Attach media (image/audio/video/document). Accepts local paths or URLs.",
|
||||
)
|
||||
.option(
|
||||
"--interactive <json>",
|
||||
"Shared interactive payload as JSON (buttons/selects rendered natively by supported channels)",
|
||||
"--presentation <json>",
|
||||
"Shared presentation payload as JSON (text, context, dividers, buttons, selects)",
|
||||
)
|
||||
.option(
|
||||
"--buttons <json>",
|
||||
"Telegram inline keyboard buttons as JSON (array of button rows)",
|
||||
)
|
||||
.option("--components <json>", "Discord components payload as JSON")
|
||||
.option("--card <json>", "Adaptive Card JSON object (when supported by the channel)")
|
||||
.option("--delivery <json>", "Shared delivery preferences as JSON")
|
||||
.option("--pin", "Request that the delivered message be pinned when supported", false)
|
||||
.option("--reply-to <id>", "Reply-to message id")
|
||||
.option("--thread-id <id>", "Thread id (Telegram forum thread)")
|
||||
.option("--gif-playback", "Treat video media as GIF playback (WhatsApp only).", false)
|
||||
|
||||
Reference in New Issue
Block a user