Group chats
How to add the bot to a group, how it reads messages, proactive (free-form) messages, context reset.
The bot can work in Telegram group chats — answering participants’ questions, leading discussions and even writing on its own.
How to add the bot to a group
- Turn on the “Group chats” toggle on the “AI bot” tab in the console.
- Add the bot to the desired group on Telegram.
- Make the bot a group admin — without this Telegram doesn’t pass normal messages to the bot, and the bot only sees direct replies to its own messages.
Which bot works in the group
It depends on which Telegram bot you add.
If you add your own bot (via @BotFather)
Your bot works in the group — with your prompt and settings. See Your own Telegram bot for details.
If you add @minddy_bot
The default bot Minddy always works in the group — no matter which bot you’re currently chatting with in @minddy_bot, and whether or not you’re an anonymous admin. Bots that run inside @minddy_bot can’t be added to groups: to have your bot work in a group, connect it as your own Telegram bot.
How the bot responds in a group
By default the bot reacts to:
- @mentions (when someone writes @bot_name).
- Replies to the bot’s messages.
With Minddy Plus you can enable the “Reply to every message” mode — the bot reacts to all messages in the group.
Can the bot see who wrote the message
Yes. The sender’s name is automatically added to every message in a group chat. The AI model sees the dialog in this format:
[Ivan Petrov] Hi, how are you?
[Maria Sidorova] All good!
If a user has no name — the username is used; if there’s no username either — “User” is inserted. With the “Message timestamps” setting, a timestamp is added:
[04.16 14:30, Ivan Petrov] Hi, how are you?
This lets the bot address participants by name and tell apart who wrote what.
Every group message gets the sender's name prepended.
[Ivan Petrov] Hi, how are you? [Maria Sidorova] All good! [04.16 14:30, Ivan Petrov] Where are you going on holiday?
Why the bot doesn’t see normal messages
The bot must be an admin of the group. Without admin rights Telegram only delivers direct replies to its own messages. After adding the bot to the group you’ll see a hint:
“Make the bot a group admin so it can read all messages.”
Proactive (free-form) messages
The bot can periodically write to the group on its own, without waiting to be addressed. Useful for:
- Keeping the chat active.
- Regular reminders or motivational messages.
- Commentary on ongoing discussions.
Settings
- On/off — toggle in the bot settings.
- Interval — how often the bot writes (from 20 minutes to 7 days, slider).
- Prompt — extra instruction for generating proactive messages. It’s appended to the main prompt at generation time.
The bot will reply to every message in the group, not only to mentions.
The bot will periodically send messages to the group.
Instruction appended to the main prompt when generating a proactive message.
Prompt example for a therapist
Write a short supportive message for group members.
You can suggest an anxiety-management technique, ask a reflective
question, or share an observation on the current topic. Don't repeat
previous messages. Be warm and brief.
How proactive messages work under the hood
When a proactive message is generated the bot receives:
- System prompt — your main instruction + the proactive prompt (if set). If unset — the default instruction is used: “Write a short message to the group chat to keep the conversation going. Don’t repeat previous messages.”
- Group chat history — the latest messages with participant names.
The bot does not use memory when generating proactive messages — only the system prompt and the chat history. If the group hasn’t had any messages yet — the bot only gets “Write a message in the chat.”
The proactive message is sent as a reply to the last message in the group.
Preview
On the “AI bot” tab, in the “Active group chats” panel, each chat has a preview button — the 👁️ icon. Tap it and you’ll see exactly what message the bot would generate for that group right now. Handy for tuning the prompt without waiting for the timer.
Context reset in a group
A group admin can send /reset — the bot will forget all the dialog history in the group and start with a clean slate.