Template

Group AI Assistant (answers when called by name)

An AI assistant for your Telegram group. It stays quiet until someone writes its name, mentions it or replies to it, then answers in that person's language. Optional: it deletes messages with words you ban.

Who it's for: For study groups, communities and friend chats that want an AI helper without it jumping into every message. Normal chatter costs nothing, because the AI only runs when someone calls it.

  1. AnnaDoes anyone know what "serendipity" means?
  2. MarkNo idea, I'm lost too
  3. AnnaJarvis, what does this word mean?
  4. Group Assistant"Serendipity" means a happy accident: finding something good by chance. Example: "We met by pure serendipity."
Someone calls the assistant by name in the group

What the conversation looks like

  1. Mark(message with a banned word)
  2. Group Assistant⚠️ Mark, please keep the chat friendly. That message breaks the rules of this group.
Optional: a banned word is removed and the sender warned

How it works

  • Add the bot to your group and give it a name
  • Someone writes its name, mentions it or replies to it, and it answers right under their message
  • It understands the recent conversation, so it can join a discussion that is already going
  • It answers in the language of each message, so mixed-language groups just work
  • Optional: messages with banned words are removed and the sender gets a friendly warning

Setup requirements

  • In @BotFather send /setprivacy, choose your bot and select Disable, so it can see messages that call it by name.
  • Add the bot to your group. If it was already there, remove it and add it again (or make it an admin), because Telegram applies the privacy change only when the bot joins.
  • Press Deploy and write "Jarvis, what can you do?" (with your assistant's name) in the group.
  • For moderation, replace "off" in bannedWords with your words and make the bot a group admin with the "Delete messages" right.

Details

Good to know

  • The bot only spends AI credits when someone actually calls it. All other checks are free, so a busy group does not drain your balance.
  • It sees the group's recent messages and who wrote them, so it answers in context.
  • Its name and personality live in variables (assistantName, assistantNickname, assistantPersona) that you can change any time.
  • Moderation is a simple word list (bannedWords). Keep it set to "off" to switch moderation off. For AI-powered review of every message with mute and ban, see the Group Moderation template.

Common questions

  • What name should people use to call the assistant?
  • What is the group about?
  • Should the bot remove messages with certain words?

Keep in mind

  • Without privacy mode disabled in @BotFather the bot only sees @mentions and replies, not its name.
  • Moderation removes messages only when the bot is a group admin with the "Delete messages" right.
  • It does not know today's news or live prices, and says so instead of guessing.

The flow behind this bot

This is the whole flow you get. Once you add the template, you can change any message, button or step.

Read-only preview · 2 flowsOpen full-screen preview ↗

Ready to build on this?

Clone the template into your workspace and edit every message, button and action — nothing is locked.