#Allowlist command

1 messages Β· Page 1 of 1 (latest)

burnt falconBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> βœ… Mark Solution

slate oracleBOT
#

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