🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ 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.

Versionv1.0.0
πŸ’‘ 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 bot
  • Example 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.
  • Privacy mode is a Telegram-side setting that cannot be changed via API. The user must do this in @BotFather.
  • For multi-bot groups (e.g., two MoltBot agents), each bot must run this setup independently on its own gateway.
  • View on ClawHub
    TERMINAL
    clawhub install tg-groupchat-setup

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’