> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hel.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Telegram Memberships

> Include access to our Telegram groups with every purchase.

Gate Telegram access with the MoonPay Commerce Bot using one-time or subscription payments. Automate group entry/removal and link multiple groups to one pay link.

# Pre-requisites

1. **Convert your Group(s) into a Supergroup**

To convert your Telegram group to a supergroup, go to group settings and enable “Chat History for New Members” — this will trigger the upgrade. Alternatively, if available, you can tap “Convert to Supergroup.

<Frame caption="Telegram supergroup">
  <img src="https://mintcdn.com/moonpay-commerce/essAQrcnRhnJ8YUu/images/docs/images/bsHln.gif?s=9628921585cc4e245fbe346500de481e" alt="" width="1172" height="1080" data-path="images/docs/images/bsHln.gif" />
</Frame>

2. **Invite the Bot to Your Group and Make It an Admin**

To invite **HelioTelegramBot** to your Telegram group and make it an admin, open your group settings, tap **“Add Members”** to invite the bot, then go to **“Administrators”**, tap **“Add Admin”**, select the bot, and grant it the necessary permissions.

<Frame caption="Add the bot to your group and make it an admin">
  <img src="https://mintcdn.com/moonpay-commerce/essAQrcnRhnJ8YUu/images/docs/images/bsHcn.gif?s=030f8ccdb28c6722b8f5fab3028023f6" alt="" width="1172" height="1080" data-path="images/docs/images/bsHcn.gif" />
</Frame>

3. **Retrieve the Chat ID of Each Group You’d Like to Grant Access To**

In each respective group, use the **/chat\_id** command to retrieve the chat ID. Make a note of this ID along with the group name, as both will be used in the subsequent setup steps.

<Info>
  **Note:** Your group ID should start with -100, indicating it’s a supergroup.
</Info>

<Frame caption="Retrieve your chat ID">
  <img src="https://mintcdn.com/moonpay-commerce/essAQrcnRhnJ8YUu/images/docs/images/bsH69.gif?s=7c769afc216c8a3c8efd11fdc8584026" alt="" width="1172" height="1080" data-path="images/docs/images/bsH69.gif" />
</Frame>

# Setup

1. **Add the Chat IDs and Group Names to the Integrations Section in Helio Settings.**

<Info>
  **Note:** You can grant access to a maximum of 15 groups
</Info>

<Frame caption="Integration settings">
  <img src="https://mintcdn.com/moonpay-commerce/qQmu63zyUpo0ecJa/images/docs/8431fe72d1d41241269feab5b238255581ed3f5eeab9e85cf30bb90435c4c1a9-Screenshot_2025-12-02_at_10.35.07.png?fit=max&auto=format&n=qQmu63zyUpo0ecJa&q=85&s=12e8f61cb0d3a894e67c15bb5ce6f145" alt="" width="3016" height="1710" data-path="images/docs/8431fe72d1d41241269feab5b238255581ed3f5eeab9e85cf30bb90435c4c1a9-Screenshot_2025-12-02_at_10.35.07.png" />
</Frame>

2. **Enable Telegram Memberships in the Advanced Options of Pay Link Creation.**

<Frame caption="Advanced options">
  <img src="https://mintcdn.com/moonpay-commerce/essAQrcnRhnJ8YUu/images/docs/fc18233a3bc45c3e8a3041dcab5b98a1e5658727e1e3c7f9eb8bfa2f05e2373b-Screenshot_2025-12-02_at_10.37.20.png?fit=max&auto=format&n=essAQrcnRhnJ8YUu&q=85&s=15252e50a56675c4e3e192894e24954e" alt="" width="3018" height="1704" data-path="images/docs/fc18233a3bc45c3e8a3041dcab5b98a1e5658727e1e3c7f9eb8bfa2f05e2373b-Screenshot_2025-12-02_at_10.37.20.png" />
</Frame>

# Telegram Group Access

At checkout, users will be prompted to enter their Telegram username and email address. This purchase includes exclusive access to a private Telegram group. Once the order is complete, an email will be sent with the invite link(s) to the group(s).

<Frame caption="Telegram group access">
  <img src="https://mintcdn.com/moonpay-commerce/qQmu63zyUpo0ecJa/images/docs/cb1fb56040b8824e4c1dd0e5b635c1a21d87554ae05a6dffeb5b465537f29f0a-Screenshot_2025-12-02_at_10.44.09.png?fit=max&auto=format&n=qQmu63zyUpo0ecJa&q=85&s=c510315526fcebf33fa3c9b47d6d96a2" alt="" width="2236" height="1232" data-path="images/docs/cb1fb56040b8824e4c1dd0e5b635c1a21d87554ae05a6dffeb5b465537f29f0a-Screenshot_2025-12-02_at_10.44.09.png" />
</Frame>

# Subscriptions

Telegram memberships can be configured for subscriptions. Once a user’s subscription starts, they will be granted access to the group by the MoonPay Commerce Telegram Bot. Upon expiry, the bot will automatically remove them from the group.
