-
-
Notifications
You must be signed in to change notification settings - Fork 69.2k
[Bug]: Telegram actions schema missing editMessage and createForumTopic fields #35497
Copy link
Copy link
Closed
Closed
Copy link
Description
Bug type
Behavior bug (incorrect output/state without crash)
Summary
The TelegramActionConfig TypeScript type (src/config/types.telegram.ts:14-23) defines 6 fields:
reactions,sendMessage,deleteMessage,editMessage,sticker,createForumTopic
But the Zod schema (src/config/zod-schema.providers-core.ts:224-232) only has 4:
reactions,sendMessage,deleteMessage,sticker
Missing from schema: editMessage and createForumTopic
Because the schema uses .strict(), users who set these documented config options get:
Config invalid
Problem:
- channels.telegram.accounts.main.actions: Unrecognized key(s) in object: 'editMessage'
Steps to reproduce
- Add to openclaw.json:
{
"channels": {
"telegram": {
"accounts": {
"main": {
"token": "...",
"actions": { "editMessage": true, "createForumTopic": true }
}
}
}
}
}- Run
openclaw gateway restart - Get config validation error
Expected behavior
Config accepted — these fields are defined in the TypeScript type and used by the codebase.
Actual behavior
Config rejected with "Unrecognized key" error due to .strict() on the Zod schema.
OpenClaw version
2026.3.3 (current main)
Operating system
All
Install method
Any
Impact and severity
Users cannot enable/disable editMessage or createForumTopic actions via config.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.