π¦ ClawHub
Telegram Group Chat Setup
by @arekqq
Configure a MoltBot agent to participate in a Telegram group chat. Automates adding the group to the allowlist, setting mention patterns, and configuring sender permissions β all via a single gateway config patch. Use when the user wants to set up their bot in a Telegram group, enable cross-bot communication, or configure group mention gating.
π‘ Examples
The user provides:
group_id: Telegram group ID (e.g., -1001234567890)allowed_users: List of Telegram user IDs or @usernames who can trigger the botExample prompt: > "Set up my bot in Telegram group -1001234567890. Allow users 123456789 and @some_user to ping me."
π Tips & Best Practices
requireMention: true means the bot only responds when explicitly mentioned β it won't spam every message.groupAllowFrom restricts which senders can trigger the bot. Without it, messages from unknown senders may be dropped.groupPolicy: "allowlist" is the Telegram default β only explicitly listed groups are active.TERMINAL
clawhub install tg-groupchat-setup