fix: add Telegram native progress placeholder opt-in for plugin commands (#59300)

Merged via squash.

Prepared head SHA: 4f5bc22a89
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
This commit is contained in:
Josh Lehman
2026-04-02 15:55:46 -07:00
committed by GitHub
parent 5f4077cc7d
commit ed8d5b3797
11 changed files with 489 additions and 11 deletions

View File

@@ -1605,6 +1605,13 @@ export type OpenClawPluginCommandDefinition = {
* override exists (for example `{ default: "talkvoice", discord: "voice2" }`).
*/
nativeNames?: Partial<Record<string, string>> & { default?: string };
/**
* Optional Telegram-native progress placeholder text.
* When set, Telegram native/plugin command delivery sends this text
* immediately, then edits that same message in place if the final reply
* is a simple text-only payload.
*/
telegramNativeProgressMessage?: string;
/** Description shown in /help and command menus */
description: string;
/** Whether this command accepts arguments */