mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 03:34:33 +00:00
fix(telegram): scope command-sync hash cache by bot identity (#32059)
This commit is contained in:
@@ -397,7 +397,13 @@ export const registerTelegramNativeCommands = ({
|
||||
}
|
||||
// Telegram only limits the setMyCommands payload (menu entries).
|
||||
// Keep hidden commands callable by registering handlers for the full catalog.
|
||||
syncTelegramMenuCommands({ bot, runtime, commandsToRegister, accountId });
|
||||
syncTelegramMenuCommands({
|
||||
bot,
|
||||
runtime,
|
||||
commandsToRegister,
|
||||
accountId,
|
||||
botIdentity: opts.token,
|
||||
});
|
||||
|
||||
const resolveCommandRuntimeContext = (params: {
|
||||
msg: NonNullable<TelegramNativeCommandContext["message"]>;
|
||||
|
||||
Reference in New Issue
Block a user