O
O
onemorevagabund2020-11-22 17:59:26
Python
onemorevagabund, 2020-11-22 17:59:26

How to create a bot that works only after subscribing to a telegram channel?

Good evening. I often come across bots that work only after you subscribe to a certain channel and I was wondering how to add such a function to the bot?
For example, on PyTelegramBotAPI or on Aiogram.
thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mors Clamor, 2020-11-22
@66demon666

At the beginning of the request processing chain, a check is made to see if the user is a channel subscriber or not...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question