> For the complete documentation index, see [llms.txt](https://mava.gitbook.io/mava-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mava.gitbook.io/mava-docs/ai-support/public-telegram-group-ai.md).

# Public Telegram Group AI

### How does the Telegram Group AI bot work?

Mava AI can respond to commonly asked questions in large or small Telegram groups 24/7 in over 100 languages.

#### When will and wont the bot respond?

Once activated, the bot will respond to:

* Any support question it believes it can answer based on your uploaded content
* Any question if the bot is tagged

The bot won't respond if:

* The question is not considered a support request. For example, "Hi, how are you doing?" would be classified as a 'social' question and not a support request so the bot would not reply.
* The question is a reply to a different message. This is to avoid the bot interrupting conversations by users if they are replying to each other. Example of a reply below:

<figure><img src="https://2748965171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTebv3SzLbdQL5VOCHzvx%2Fuploads%2Fkl01KvfBKyBdTVpJxmo8%2Fimage.png?alt=media&#x26;token=bd22580e-196a-45ee-9b98-a5bfa048614b" alt="" width="314"><figcaption></figcaption></figure>

### What happens if the bot doesn't reply

If the bot doesn't respond, it has decided not to answer — no ticket is created and no one on your team is automatically notified. The only exception is if you haven't uploaded any AI knowledge yet: in that case, tagging the bot gets you a message saying it doesn't have content to work with yet. If your knowledge base does have content but the bot still can't find a good answer, it stays silent even if it was tagged.

### How to activate Telegram Group AI

Before starting, make sure you've completed these two steps:

* [Upload Content](https://dashboard.mava.app/dashboard/admin/ai/sources) to train your AI & [provided a company name and description](https://dashboard.mava.app/dashboard/admin/ai/settings) so the AI know's who it's working for
* Created a [Telegram bot and integrated it with Mava](/mava-docs/getting-started/integration-setup/telegram-setup.md)

#### Setup:

1. Disable your bot's group privacy settings so I can respond to messages. This setting is enabled by default, but needs to be disabled before your Telegram bot can respond to questions when it isn't tagged.

* [ ] 1.1 Open @BotFather on Telegram
* [ ] 1.2 Enter the command /setprivacy
* [ ] 1.3 Select the bot you've integrated with Mava
* [ ] 1.4 Press the 'Disable' button
*

<figure><img src="https://2748965171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTebv3SzLbdQL5VOCHzvx%2Fuploads%2FGNENUAFssdOvBuHPSH5Z%2Fimage.png?alt=media&#x26;token=6f75f6af-2dd5-41f9-8186-6d2187a5b8f0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2748965171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTebv3SzLbdQL5VOCHzvx%2Fuploads%2FBZI9gPBUlPC6xqkuAB5E%2Fimage.png?alt=media&#x26;token=0bcae896-b73b-4d7a-9256-2000612b1d46" alt="" width="316"><figcaption></figcaption></figure>

2. You can now manually add your Telegram bot to one or multiple groups where you want it to reply.
3. Back within Mava settings, activate the '[Public channel AI assistant](https://dashboard.mava.app/dashboard/admin/ai/settings)' toggle to ON:

<figure><img src="https://2748965171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTebv3SzLbdQL5VOCHzvx%2Fuploads%2FqW5lTU3CEQ9fDLvFAdas%2Fimage.png?alt=media&#x26;token=1e9463fd-c883-4708-8a83-db6831d2c83d" alt=""><figcaption></figcaption></figure>

4. Test your bot by Tagging it in the group you've added it to and ask it a question from your docs.

### How to deactivate Telegram Group AI

\
1\. Deactivate the '[Public channel AI Assistant](https://dashboard.mava.app/dashboard/admin/ai/settings)' toggle:

<figure><img src="https://2748965171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTebv3SzLbdQL5VOCHzvx%2Fuploads%2FXSMhZUetm1OFbwhb6fmv%2Fimage.png?alt=media&#x26;token=86a4add9-186f-4e57-93b2-6c4298c8333a" alt=""><figcaption></figcaption></figure>

Please note: The Public channel AI assistant setting is shared across Discord, Telegram, and Slack — it's a single toggle, not one per channel. Deactivating it will stop the bot responding in all three, not just Telegram.

*AI in private tickets can be turned on/off within the* [*chatbot builder*](/mava-docs/getting-started/chatbot-builder.md)*.*
