# Пользовательские события

Пользовательские события - разновидность событий MiniChat, создаваемая стримером. Их можно использовать для отображения победителей, или участников "дуэлей" в чате и прочих интерактивах, а так же для отображения служебной информации.

{% hint style="warning" %}
Пользовательские события поддерживаются в версиях интеграции [v0.5.0](https://docs.play-code.ru/minichat/instructions/pages/riDMLsYrLOEQKjZ8Wetg#versiya-0.5.0-boosters) и выше
{% endhint %}

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

Для отправки такого события, необходимо:

* Установить значение для аргумента`service`. Поддерживаемые значения: Twitch, YouTube, VKPlay, VK, Telegram, DonationAlerts, DonateStream, QIWIDonate, Discord и прочие. При использовании неподдерживаемого значения - вместо иконки будет отображать крестик.
* Установить значение аргумента `title`.  Он отображается как основной, выделенный текст.
* Установить значение аргумента `message`.  Он служит вспомогательным текстом и отображается под title.
* Выполнить C# метод `CreateCustomEvent` из `MiniChat Method Collection`.  **Core -> C# -> Execute C# Method**

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


---

# 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://docs.play-code.ru/minichat/instructions/polzovatelskie-sobytiya.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.
