#Working Telegram Setup

1 messages Ā· Page 1 of 1 (latest)

half copper
#

Running this on a homelab with a reasonably complex network between services. No external access or open ports - using VPN only to the VPS.

Here's my Openclaw setup:

Bot: @your_bot

Channel config:
• enabled: true
• streamMode: partial (streams responses as they generate)
• Polling mode (long-polling via Bot API, no webhook)

Access control (tight):
• dmPolicy: allowlist - only allowlisted users can DM the bot
• groupPolicy: allowlist - only allowlisted users' messages are processed in groups
• allowFrom: ["<your_user_id>"] - only you (DMs)
• groupAllowFrom: ["<your_user_id>"] - only you (groups)
Groups:

• <group_id> - requireMention: false (responds to all your messages, no @mention needed)

BotFather settings needed:
• /setprivacy → Disable (so bot sees all group messages without @mention)
• Bot must be added as admin or member of the group

I'm guessing from your post that you got the correct channelID for your group/channel.

hasty gull
#

Setprivacy solved it.

#

Any suggestions? I want that only me can communicate with him.

And I paired my telegram . Does this enough to be safe?

keen turret
#

Thanks so much bro ā¤ļø

#

this is amazing @half copper

half copper