Fixing Telegram Group ID Config Error | Generated by AI

Home 2026.03

The key was reading the error log, which told me exactly what to do:

Invalid allowFrom entry: "-4714712674"
- allowFrom/groupAllowFrom authorization expects numeric Telegram sender user IDs only.
- To allow a Telegram group or supergroup, add its negative chat ID under 
  "channels.telegram.groups" instead.

What I did — two changes to openclaw.json:

Before (wrong):

"channels": {
  "telegram": {
    "groupPolicy": "allowlist",
    "groupAllowFrom": ["-4714712674"]   //  user IDs only
  }
}

After (correct):

"channels": {
  "telegram": {
    "groupPolicy": "allowlist",
    "groupAllowFrom": [],               //  empty - user auth not needed
    "groups": {
      "-4714712674": {                  //  group chat IDs here
        "requireMention": true
      }
    }
  }
}

The distinction:

So the chat ID -4714712674 went from being incorrectly treated as a user identifier, to being properly recognized as a group chat.


Back Donate