docs(telegram): fix allowlist example scope

This commit is contained in:
Altay
2026-03-10 21:46:43 +03:00
parent 422e949226
commit 15d5881446

View File

@@ -187,16 +187,16 @@ curl "https://api.telegram.org/bot<bot_token>/getUpdates"
groups: {
"-1001234567890": {
requireMention: true,
allowFrom: ["8734062810", "745123456"],
},
},
groupAllowFrom: ["8734062810", "745123456"],
},
},
}
```
<Warning>
Common mistake: `groupAllowFrom` is not a Telegram group whitelist.
Common mistake: `groupAllowFrom` is not a Telegram group allowlist.
- Put negative Telegram group or supergroup chat IDs like `-1001234567890` under `channels.telegram.groups`.
- Put Telegram user IDs like `8734062810` under `groupAllowFrom` when you want to limit which people inside an allowed group can trigger the bot.