go-telegram / bot

Telegram Bot API Go framework
MIT License
502 stars 46 forks source link

How to check through a bot that a user is subscribed to a channel? #58

Closed xjl0 closed 5 months ago

xjl0 commented 5 months ago

Hello. Please tell me how to check through the bot that the user is subscribed to the channel? Which method to call? I can not find.

negasus commented 5 months ago

https://core.telegram.org/bots/api#update

I think you are looking for update.chat_member