-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check if a user is member of channel #145
Comments
Hi, thanks for your issue! status = bot.api.call("getChatMember", {"chat_id": chat.id, "user_id": message.sender.id}) |
Thanks for the quick reply....It worked!! status = bot.api.call("getChatMember", {"chat_id": chat.id, "user_id": message.sender.id, "channel": '@channel'}) |
Do this: bot.api.call("getChatMember", {"chat_id": "@yourchannel", "user_id": message.sender.id}) |
Thanks! it started working... |
@abhi3700 don't close this, this is a bug that needs to be resolved. |
Okay! |
Hi guys!,
How to achieve this?
It is showing this error:
Can anyone please help me with this?
The text was updated successfully, but these errors were encountered: