# 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.&#x20;

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

Once activated, the bot will respond to:

* &#x20;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="/files/YuCgMTWC1LaaYT9YfDMD" alt="" width="314"><figcaption></figcaption></figure>

### How to activate Telegram Group AI&#x20;

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)&#x20;

#### 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="/files/uk6KHZZre7aSUzNEtqmd" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Dc9Z2xXwHIZgGxDeyr6f" 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.&#x20;
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="/files/kCxpBtDg21BRk9PN94So" 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.&#x20;

### How to deactivate Telegram Group AI&#x20;

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

<figure><img src="/files/9oza8ZS8ftNExFMXiu7u" alt=""><figcaption></figcaption></figure>

Please note: The Public channel AI assistant setting will apply to both Discord & Telegram. If you deactivate it on Telegram it will also stop responding in public Telegram groups.&#x20;

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mava.gitbook.io/mava-docs/ai-support/public-telegram-group-ai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
