> 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

Получение отчетов в MAX Bot

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

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

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

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

   <figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2FeuVVSCzBFXlW0lDWl2WR%2Fimage.png?alt=media&amp;token=fef29c12-7e45-42a5-8ddd-b5a06ff79ac8" alt=""><figcaption></figcaption></figure>
4. Отправьте пароль администратора:
   1. **В личный чат с MAX Bot** — если хотите получать заявки в личные сообщения.
   2. **В группу, где присутствует MAX Bot** — если хотите получать отчёты в группу. Для этого у MAX Bot должна быть включена опция **«Разрешить ответы в групповых чатах»**.
5. Откройте нужную функцию.
6. В разделе **«Действия»** включите опцию **«Админу в мессенджер»** и выберите **MAX Bot**.<br>

   <figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2Fn5qmR3iouLoMsdhFepKz%2Fimage.png?alt=media&amp;token=4fc01a3a-562f-455f-8b08-04811b0c51ee" alt=""><figcaption></figcaption></figure>
7. Настройте параметры отчёта. Подробнее о переменных в [статье](https://doc.nextbot.ru/functional/functions/sending-result/peredavaemye-znacheniya-v-otchete-ili-v-deistvii.md)<br>

   <figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2FcmeqYHAoCPDwSPUc3pdC%2Fimage.png?alt=media&amp;token=3f2b0e28-c9bc-4ae7-bbff-fc2d37c33c3f" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
