Heartbeat config

I want to configure the default heartbeat to go to my general topic in my telegram group. what's the correct syntax for that in clawdbot.json ?
Solution
For the General topic (thread_id
1
):

{
  "agents": {
    "defaults": {
      "heartbeat": {
        "target": "telegram",
        "to": "-1001234567890"  // just the chat ID; thread_id 1 is special
      }
    }
  }
}


The
to
field accepts these formats:
-
chatId
โ†’
-1001234567890
(plain chat ID, works for General topic)
-
chatId:topicId
โ†’
-1001234567890:42
Was this page helpful?