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.
Bug type
Behavior bug (incorrect output/state without crash)
Summary
The
TelegramActionConfigTypeScript type (src/config/types.telegram.ts:14-23) defines 6 fields:reactions,sendMessage,deleteMessage,editMessage,sticker,createForumTopicBut the Zod schema (src/config/zod-schema.providers-core.ts:224-232) only has 4:
reactions,sendMessage,deleteMessage,stickerMissing from schema:
editMessageandcreateForumTopicBecause the schema uses
.strict(), users who set these documented config options get:Steps to reproduce
{ "channels": { "telegram": { "accounts": { "main": { "token": "...", "actions": { "editMessage": true, "createForumTopic": true } } } } } }openclaw gateway restartExpected 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.