Reputation: 33
I have a simple chat-bot writed with aiogram for receiving messages from users and answering to them. I want to make sure that user is subscribed to a particular channel before he can use my bot. How can I implement that?
Upvotes: 3
Views: 3344
Reputation: 619
Use getChatMember method and then check status
field of the ChatMember
Upvotes: 2