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
[BUG] Docs confusingly suggest that message_reaction
and message_reaction_count
are included in webhook updates by default
#4116
Comments
Do you want to PR against doc-fixes and change it? |
Can do |
Please, can you update the docs for |
hey @mbanerjeepalmer, are you still working on this? We're nearing a new release so it would be nice to include this as well. |
@harshil21 PR opened. Black was giving me weird line lengths so there are some unnecessary line breaks, let me know if that needs fixing. |
Closed by #4140. |
Steps to Reproduce
allowed_updates
you should 'Specify an empty sequence to receive all updates except telegram.Update.chat_member (default).'allowed_updates
empty (i.e. do not specify parameter at all).Expected behaviour
Given the python-telegram-bot docs, the user expects the webhook to deliver
message_reaction
andmessage_reaction_count
.Actual behaviour
The webhook is not set up to deliver message reactions. This is because Telegram's default behaviour is actually the following:
Source: https://core.telegram.org/bots/api#setwebhook
Operating System
Ubuntu 22.04.3
Version of Python, python-telegram-bot & dependencies
Relevant log output
No response
Additional Context
The wording change needs to be made here: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/_bot.py#L4260
The text was updated successfully, but these errors were encountered: