#Allowlist command
1 messages Β· Page 1 of 1 (latest)
On Telegram you want DM allowlist, which is:
channels.telegram.dmPolicy: "allowlist"channels.telegram.allowFrom: [...](numeric Telegram user IDs, not @usernames)
In Windows PowerShell:
# 1) (optional) see which config file youβre editing
openclaw config file
# 2) enable DM allowlist mode
openclaw config set channels.telegram.dmPolicy allowlist
# 3) allow ONLY your Telegram user id(s) (replace 123456789)
openclaw config set channels.telegram.allowFrom '["123456789"]' --strict-json