refactor(channels): decouple presentation rendering

This commit is contained in:
Peter Steinberger
2026-04-21 21:20:26 +01:00
parent d7a173e60e
commit fd0970c077
76 changed files with 2290 additions and 1181 deletions

View File

@@ -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)