> For the complete documentation index, see [llms.txt](https://docs.myshch.io/myshch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.myshch.io/myshch/tutorials/for-event-organisers/settings-for-telegram-bot.md).

# Settings for Telegram bot

To set up a Telegram bot to invite visitors into an event group, you need to:<br>

{% stepper %}
{% step %}
Turn on Show History mode in the Telegram group.
{% endstep %}

{% step %}
Add [<mark style="color:blue;">the bot as an admin to the event group</mark>](https://t.me/myshch_bot)<mark style="color:blue;">.</mark>
{% endstep %}

{% step %}
Prohibit users from inviting other participants.
{% endstep %}

{% step %}
Send the `/init` command in the Telegram group to initialize the bot.
{% endstep %}

{% step %}
Send the `/addevent 'Event ID'` command in the Telegram group

{% hint style="info" %}
You can also use the `/clear on` and `/clear off` commands. These commands are responsible for enabling and disabling the clearing of system messages when users join or leave a group.
{% endhint %}
{% endstep %}
{% endstepper %}

View step-by-step video instruction:

{% embed url="<https://youtu.be/5f80UpoHF-k>" %}
