#Web ui and telegram session knowledge
1 messages · Page 1 of 1 (latest)
Yep, this is a common gotcha, and yes people run Web UI + Telegram together daily.
What’s likely happening:
- Web UI defaults to the agent’s main session.
- With
session.dmScope: "per-peer", Telegram DMs use a per-user key likeagent:<id>:direct:<telegramUserId>. - Different session keys, so context does not auto-share.
If you want automatic shared context across Web UI + Telegram, set:
openclaw config set session.dmScope main
If you want to keep per-peer isolation, use session.identityLinks and then switch Web UI to the linked DM session instead of main.
Can you run these on the gateway host and paste output?