# 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;

![](https://2427238655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNHvcdxa9Rj1y1D7qamfQ%2Fuploads%2FZIDLefOUd6dCPmVLFPbz%2Fimage.png?alt=media\&token=21b18908-1905-4bdc-bd6a-b634dc1798d5)



## **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;![](https://2427238655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNHvcdxa9Rj1y1D7qamfQ%2Fuploads%2FOKc6of4xSHt6UzvpMS7K%2Fimage.png?alt=media\&token=147a3f1c-c601-4c91-8966-7fda2231bbab)
