> For the complete documentation index, see [llms.txt](https://blog.telegram.lvivcenter.org/tg_research/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blog.telegram.lvivcenter.org/tg_research/filters/filters-basics.md).

# Основні відомості про фільтри

{% @guideflow/guideflow-embed requestedUrl="<https://app.guideflow.com/player/np1n4m4hek>" fullWidth="true" %}

Перед тим як перейти до розгляду фільтрів, слід ознайомитися з основними особливостями роботи з ними:

* У кожному фільтрі застосовується система логічних операторів `АБО` - `ТА`. За замовчуванням, діє оператор `ТА`, тож усі обрані пошукові запити об’єднуються. Наприклад, при увімкнених фільтрах "Країна" > "Україна" `ТА` "Польща", у результатах буде відображено повідомлення, що містять згадку про обидві ці країни. Змінивши у правому нижньому кутку фільтра оператор `ТА` на оператор `АБО`, у результатах буде відображено повідомлення, що містять згадки про одну `АБО` більше країн.&#x20;

<div data-full-width="true"><figure><img src="/files/G5F4NxAfrHrfdawO140n" alt="" width="563"><figcaption></figcaption></figure></div>

* Усі обрані фільтри будуть показані вгорі над результатами пошуку. Це дозволить бачити активні фільтри та легко їх відключити.

<div data-full-width="true"><figure><img src="/files/mqH2ZFtOcbTOZiQ75Lfg" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="/files/O0Xvrt4daAoczbvlV37Y" alt="" width="563"><figcaption></figcaption></figure></div>

* Біля кожної позиції у панелі фільтрів вказана кількість повідомлень, що відповідають цій позиції. Наприклад, це може бути кількість повідомлень з певним хештегом або опублікованих конкретним автором. Ці цифрові показники можуть змінюватися, якщо змінити параметри пошуку.

<figure><img src="/files/2YGdQrPwldSad5mtKdY4" alt="" width="375"><figcaption></figcaption></figure>

* Оскільки список у деяких фільтрах може бути занадто довгим, кожен з них має кнопку  <img src="/files/w7LfI8X2TahlNqHxeAYl" alt="" data-size="line">. За допомогою цієї кнопки можна переглянути весь список і знайти потрібні позиції за назвою. Порядок відображення можна відсортувати за алфавітом (кнопка <img src="/files/IbMAwNQxAV2p8zUdydpQ" alt="" data-size="line">) або за кількістю повідомлень (кнопка<img src="/files/RwPA6jHRU2niSdbu3qC0" alt="" data-size="line">).

<figure><img src="/files/5U77frO0gXE0hGRgOpuA" alt="" width="375"><figcaption></figcaption></figure>


---

# 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://blog.telegram.lvivcenter.org/tg_research/filters/filters-basics.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.
