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

# Telegram Bot Setup

## Inviting the Telegram bot

* The Telegram bot can be added to your **group** using the [following link](<https://t.me/alphabot_app_bot?startgroup >).
* To add the bot to a **channel**, you will need to select Menu > Manage Channel > Administrators > Add Administrator, and then search for the bot by name: `alphabot_app_bot`

## Channels: Required Permissions

As channels are read-only for regular members, you'll have to give the bot the Admin rights to `post messages` and `edit messages of others` within that channel.&#x20;

![](/files/wjKcjJ69IhQoX39niHKN)

## **Groups: Required Permissions**

By default, all group members are able to send messages, so there are no specific permissions required for the bot to operate in groups. However, for certain functionalities, the bot requires Admin rights. Here's the breakdown:

* **Viewing Group Members**: The bot needs Admin rights to access and see the list of group members. Without these permissions, it cannot properly handle Telegram requirements.
* **Pinning and Unpinning Messages**: To automatically pin and unpin messages, you must grant the bot Admin rights with the permission to manage pins.

&#x20;![](/files/sOwea7qljkW1oX3qrMO9)
