- Notifications
You must be signed in to change notification settings - Fork5.7k
4.6 API update#1723
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
4.6 API update#1723
Uh oh!
There was an error while loading.Please reload this page.
Conversation
I am pretty sure I would need to add the new objects to the init file, didn't do it. |
Okay, all failed tests are unrelated, I think |
Uh oh!
There was an error while loading.Please reload this page.
I can't get rid of that, but I don't think I have inserted that error :D |
Yes you did ;P Don't put whitespaces on begging of lines - linebreaks count as whitespace. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks for the PR!
Apart from my nitpicking below we should add a test files for the newKeyboardButtonPollType
andPollAnswer
or integrate it intotest_keyboardbutton.py
andtest_poll.py
, respectively.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
I added the missing filter as discussed in private. Do I have to add tests? |
Telegram added anote to |
@Bibo-Joshi but I already did? python-telegram-bot/telegram/keyboardbutton.py Lines 53 to 54 in7d25d19
|
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Hey there. Relax, I am just a little warning for the maintainers to release directly after merging your PR, otherwise we have broken examples and people might get confused :)
Missing: Tests and docs for new handlers. Maybe improving pollbot docs. |
Uh oh!
There was an error while loading.Please reload this page.
when trying to send a poll with correct option id 0 it was failing. Now None check is done so that even when 0 is passed it is assigned.
correct_option_id validated with None
Poolitzer commentedFeb 10, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Id live to have you "helping" ;P Also, reminder to myself, I need to include the poll filter in the example |
Will try to. Probably will take a few days |
Here you go :-* |
Thank you very much :) |
simonsmh commentedMar 11, 2020
When will this pull request get merged? |
We dont like giving an ETA, sorry. That being said its on our list (obviously). Maintainers just need to find time in their life. |
simonsmh commentedMar 11, 2020
Actually I am using this branch for quite a long time and doesn't meet any problem so far. I'm just curious for why it doesn't get any update for nearly a month as I need some of the new feature to show my idea to others. Anyway thanks for your work. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
docs need to be built and checked. Tests should run through now.
Message._parse_*
to handle theMessageEntities.language
attribute correctly. Doesn't actually do anything yet, but we should still add it toMessage.text_html
and friendstest_official
fail again (i.e. partly revertimprove CI #1716)closes#1722