Replies: 6 comments
-
chat_member update type is not in the default set of handled update types. Set it obviously when call palling/creating webhook |
Beta Was this translation helpful? Give feedback.
-
@Badiboy Oh, I forgot to mention that I already have infinite polling set like this: bot.infinity_polling(allowed_updates=telebot.util.update_types) |
Beta Was this translation helpful? Give feedback.
-
and in webhook as well: bot.set_webhook(url=webhook_url, drop_pending_updates=True, \
allowed_updates=telebot.util.update_types) |
Beta Was this translation helpful? Give feedback.
-
If set - means that Telegram does not send them. Check bot settings (privacy etc.) and group settings (bot is admin, bot have enough permissions). |
Beta Was this translation helpful? Give feedback.
-
Could you please tell me that particual setting? There are many of them. |
Beta Was this translation helpful? Give feedback.
-
But the weird thing here is that if I revoke the token, the issue is gone. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of pyTelegramBotAPI are you using?
pip3 show pyTelegramBotApi
:Version: 4.8.0
What OS are you using?
MacOS
What version of python are you using?
python --version
:Python 3.9.7
As the title says,
@bot.chat_member_handler
doesn't call the function sometimes. But it seems like after updating bot token it starts working as intended.The code is:
UPDATE: I already have
allowed_updates
set totelebot.util.update_types
Beta Was this translation helpful? Give feedback.
All reactions