• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

I need users to be able to use Telegram-bot only after their subscription to the channel

vitruviy

Member
Hello everyone.

I want my Telegram-bot to check the user's subscription to the specified channel before he could use this bot.

I want to make the following:

1. a user starts my Telegram-bot
2. he gets the message "To use this bot subscribe to the channel X" with 2 buttons: "Subscribe to X" and "Next"
3. after subscribing the user presses "Next"
4. if he didn't subscribe the "Next" button returns him the same message as in point 2
5. if he is subscribed the "Next" button lets him use the bot
6. if while using the bot he unsubscribes from the channel he loses the ability to use bot and it again sends him the same message as in point 2


I tried to use some modules but haven't found any mention about subscriptions to Telegram channels and checking whether the user subscribed to it or not.
Which modules should I use for making this functionality?
 
P

Pabblymember11

Guest
Hey @vitruviy

Regrettably, it appears that achieving your desired use case might not be feasible using the existing Telegram Bot API functionalities.
 

vitruviy

Member
Hey @vitruviy

Regrettably, it appears that achieving your desired use case might not be feasible using the existing Telegram Bot API functionalitie
Thank you for the reply.

But it isn't so.

There are many bots made this way.
And here is one described in details in Russian:
Доступ к боту только после подписки телеграм | Проверка подписки на телеграм канал - YouTube

The service similar to pabbly is used there.
But I want to do in Pabbly. That's why I ask this here
 
Top