Here's the precise question:
This question is from one of my agents, I have 2 agents configured with telegram. target contains the same ID (my telegram id) so how does openclaw route to the correct agents telegram channel?
Heartbeat + Telegram
accountIdβ which bot sends the message?When an agent with its own Telegram bot account (e.g. Arnold, configured at
channels.telegram.accounts.arnold) has a heartbeat withtarget: "telegram"andto: "<chat_id>", does the gateway automatically route the heartbeat through that agent's own bot account β or does it fall back to the default account?The docs show
accountIdas an optional field in the heartbeat config, but I'm unclear whether it's required when the agent already has a dedicated bot configured. Neon says the agent identity is enough andaccountIdshouldn't be needed in the heartbeat block β but I want to confirm this before restarting the gateway.Config summary:
channels.telegram.accounts.default = { botToken: "...", dmPolicy: "pairing" } channels.telegram.accounts.arnold = { botToken: "...", enabled: true } agents.list[].heartbeat = { target: "telegram", to: "2101884310", // accountId: "arnold" // β needed or redundant? }Is
accountIdin the heartbeat block redundant when the agent already has a dedicated Telegram account, or does it affect which bot gets used?