> For the complete documentation index, see [llms.txt](https://doc.nextbot.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.nextbot.ru/functional/functions/sending-result/adminu-v-messendzher/max-bot.md).

# MAX Bot

{% hint style="info" %}
Эта инструкция относится к подключению `MAX Bot`.

Для `MAX` используйте отдельную статью [MAX](/functional/functions/sending-result/adminu-v-messendzher/max.md).
{% endhint %}

Для отправки отчетов в MAX Bot выполните следующие шаги:

1. Подключите [MAX Bot](/functional/integrations/max/max-bot.md)
2. Перейдите на страницу [настроек MAX Bot](https://app.nextbot.ru/integrations?tab=MaxBotSettings)
3. В блоке **«Отчёты администратору»** задайте **«Одноразовый пароль администратора»**.<br>

   <figure><img src="/files/fl6x6rdjtB57aVk1nlp4" alt=""><figcaption></figcaption></figure>
4. Отправьте пароль администратора:
   1. **В личный чат с MAX Bot** — если хотите получать заявки в личные сообщения.
   2. **В группу, где присутствует MAX Bot** — если хотите получать отчёты в группу. Для этого у MAX Bot должна быть включена опция **«Разрешить ответы в групповых чатах»**.
5. Откройте нужную функцию.
6. В разделе **«Действия»** включите опцию **«Админу в мессенджер»** и выберите **MAX Bot**.<br>

   <figure><img src="/files/4ib0oqpxjdOjAW9GobKn" alt=""><figcaption></figcaption></figure>
7. Настройте параметры отчёта. Подробнее о переменных в [статье](/functional/functions/sending-result/peredavaemye-znacheniya-v-otchete-ili-v-deistvii.md)<br>

   <figure><img src="/files/hM9M1Bj0dsGL8W15RRrJ" alt=""><figcaption></figcaption></figure>
8. Сохраните функцию.
9. **Не забудьте прописать инструкции ИИ-Агенту** для использования функции.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://doc.nextbot.ru/functional/functions/sending-result/adminu-v-messendzher/max-bot.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
