Skip to content

Conversation

@diegopastor
Copy link

@diegopastor diegopastor commented Jan 30, 2026

Remove initialization of invalid "dm" config for Telegram. When adding a TELEGRAM_BOT_TOKEN service is currently erroring with:

Config invalid File: ~/.clawdbot/clawdbot.json Problem: - channels.telegram: Unrecognized key: "dm"

see MoltBot Docs: https://docs.molt.bot/channels/telegram#2-configure-the-token-env-or-config

Closes issue 57

Remove non existent initialization for Telegram DM to avoid error: 

Config invalid File: ~/.clawdbot/clawdbot.json Problem: - channels.telegram: Unrecognized key: "dm"

see Docs: https://docs.molt.bot/channels/telegram#2-configure-the-token-env-or-config
@diegopastor diegopastor changed the title Remove non existent initialization for Telegram DM Remove initialization of invalid "dm" config for Telegram Jan 30, 2026
@diegopastor diegopastor changed the title Remove initialization of invalid "dm" config for Telegram fix: Remove initialization of invalid "dm" config for Telegram Jan 30, 2026
@DagMalstaf
Copy link

I got the same error, this indeed fixes it!

@tomhaydn
Copy link

+1 on this

@vhscom
Copy link

vhscom commented Jan 31, 2026

#82 notes issue affects Discord as well, which also has a dm property.

@muyexi
Copy link

muyexi commented Jan 31, 2026

For some reason both this fix and another one didn't work for me.
I ended up using DataGrip to remove dm field from the clawdbot.json file .

@vhscom
Copy link

vhscom commented Feb 1, 2026

Related pull with Discord included: #99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

telegram bot does not work due to unsupported key 'dm'

5 participants