> For the complete documentation index, see [llms.txt](https://help.streamvi.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.streamvi.ru/instrukcii/chat/telegram/nastroika-sbora-soobshenii-iz-telegram.md).

# Настройка сбора сообщений из Telegram

По умолчанию собираются все сообщения из группы:

<figure><img src="/files/4KhnQouhseBTLwfgZl22" alt=""><figcaption></figcaption></figure>

### Сбор сообщений из последнего опубликованного поста

<figure><img src="/files/AeOp4tVl2NYNprtS6erm" alt=""><figcaption></figcaption></figure>

Бот следит за последним постом, собирает и отправляет сообщения в рамках этого поста. Если во время трансляции будет опубликован новый пост, то бот переключится на него.

<figure><img src="/files/WBwck6f1xL9BuOCE5Zwg" alt=""><figcaption><p>Пример поста в группе</p></figcaption></figure>

<figure><img src="/files/A1IQLadS0AwGVqqZfRx8" alt=""><figcaption><p>Пример дискуссии</p></figcaption></figure>

{% hint style="info" %}
Обратите внимание, что если вы во время трансляции создадите новый пост, то бот переключится на него
{% endhint %}

###

### Сбор сообщений из поста, опубликованного на момент старта трансляции

<figure><img src="/files/EWnHNLg6p7usImu8TaQ0" alt=""><figcaption></figcaption></figure>

В отличии от предыдущего варианта, бот запоминает последний пост при старте трансляции и не переключается на новый, пока трансляция не завершится.

### Выбрать пост вручную

Вы можете вручную указать пост, из которого бот будет собирать сообщения

<figure><img src="/files/imaEnD8eNU5OOLnFGAPq" alt=""><figcaption></figcaption></figure>

Нажмите "Выбрать", после этого откроется окно:

<figure><img src="/files/JaR08CzUV3og1XH3w2Bf" alt=""><figcaption></figcaption></figure>

На вкладке "Ссылка" можно указать ссылку на пост, скопированную из **группы** в Telegram. Для этого, нажмите правой кнопкой мыши на посте и выберите "Скопировать ссылку на сообщение":

<figure><img src="/files/xwLNxDGxFtgphaipUYpR" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
Внимание! Ссылки принимаются только из группы. Если вы добавите ссылку из канала, то сервис вам сообщит о неправильной ссылке
{% endhint %}

Вставьте полученную ссылку и нажмите "Применить":

<figure><img src="/files/6fvNikyJUSxf5pCWEaRE" alt=""><figcaption></figcaption></figure>

На вкладке "Список постов", вы можете быстро выбрать пост. Здесь отображаются только последние пятнадцать постов

<figure><img src="/files/oXL4B0zDba6ZeRHw4fk4" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Пост можно изменять в настройках канала во время трансляции, если вы забыли выбрать нужные параметры до старта.
{% endhint %}


---

# 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://help.streamvi.ru/instrukcii/chat/telegram/nastroika-sbora-soobshenii-iz-telegram.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.
