Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
Bibo-Joshi merged 32 commits intomasterfrom4.6-update
Mar 29, 2020
Merged

4.6 API update#1723

Bibo-Joshi merged 32 commits intomasterfrom4.6-update
Mar 29, 2020

Conversation

Poolitzer
Copy link
Member

@PoolitzerPoolitzer commentedJan 23, 2020
edited by Bibo-Joshi
Loading

docs need to be built and checked. Tests should run through now.

  • WhenAPI 4.5 #1508 is merged to master, merge master and updateMessage._parse_* to handle theMessageEntities.language attribute correctly. Doesn't actually do anything yet, but we should still add it toMessage.text_html and friends
  • Maketest_official fail again (i.e. partly revertimprove CI #1716)

closes#1722

@Bibo-JoshiBibo-Joshi added the ⚙️ bot-apiaffected functionality: bot-api labelJan 23, 2020
@Poolitzer
Copy link
MemberAuthor

I am pretty sure I would need to add the new objects to the init file, didn't do it.

@PoolitzerPoolitzer added this to the12.4.2 milestoneJan 23, 2020
@Poolitzer
Copy link
MemberAuthor

Okay, all failed tests are unrelated, I think

@PoolitzerPoolitzer changed the titleFirst take on 4.6 support4.6 ali updateJan 23, 2020
@PoolitzerPoolitzer changed the title4.6 ali update4.6 API updateJan 23, 2020
@Poolitzer
Copy link
MemberAuthor

telegram/keyboardbutton.py:docstring of telegram.KeyboardButton:41: WARNING: Unexpected indentation.

I can't get rid of that, but I don't think I have inserted that error :D

@Bibo-JoshiBibo-Joshi mentioned this pull requestJan 24, 2020
4 tasks
@Bibo-Joshi
Copy link
Member

telegram/keyboardbutton.py:docstring of telegram.KeyboardButton:41: WARNING: Unexpected indentation.

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.

Copy link
Member

@Bibo-JoshiBibo-Joshi left a 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.

@Poolitzer
Copy link
MemberAuthor

I added the missing filter as discussed in private. Do I have to add tests?

@Bibo-Joshi
Copy link
Member

Telegram added anote toKeyboardButton about which versions supportrequest_poll. Please add this one here as well. I'll try to review again shortly :)

@Poolitzer
Copy link
MemberAuthor

@Bibo-Joshi but I already did?

:attr:`request_poll` option will only work in Telegram versions released after 23 January,
2020. Older clients will receive unsupported message.

Copy link

@github-actionsgithub-actionsbot left a 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 :)

@Poolitzer
Copy link
MemberAuthor

Missing: Tests and docs for new handlers.

Maybe improving pollbot docs.

sharunkumarand others added3 commitsFebruary 8, 2020 22:56
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
Copy link
MemberAuthor

Poolitzer commentedFeb 10, 2020
edited
Loading

Id live to have you "helping" ;P

Also, reminder to myself, I need to include the poll filter in the example

@Bibo-Joshi
Copy link
Member

Id live to have you "helping" ;P

Will try to. Probably will take a few days

Poolitzer reacted with thumbs up emojiPoolitzer reacted with confused emojiPoolitzer reacted with heart emojiPoolitzer reacted with eyes emoji

@Bibo-Joshi
Copy link
Member

Here you go :-*
Took the liberty to simplify the example a bit and restore the intended behaviour of Filters.poll

@Poolitzer
Copy link
MemberAuthor

Thank you very much :)

@Bibo-JoshiBibo-Joshi mentioned this pull requestMar 6, 2020
@simonsmh
Copy link

When will this pull request get merged?

jay-babu reacted with thumbs up emoji

@Poolitzer
Copy link
MemberAuthor

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
Copy link

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.

dmytrohoi and Poolitzer reacted with heart emoji

This was referencedMar 28, 2020
@Bibo-JoshiBibo-Joshi merged commit55e3ecf intomasterMar 29, 2020
@Bibo-JoshiBibo-Joshi deleted the 4.6-update branchMarch 29, 2020 09:19
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsAug 18, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@Bibo-JoshiBibo-JoshiBibo-Joshi requested changes

@jay-babujay-babujay-babu left review comments

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

@sharunkumarsharunkumarsharunkumar requested changes

Assignees
No one assigned
Labels
⚙️ bot-apiaffected functionality: bot-api
Projects
None yet
Milestone
12.4.4
Development

Successfully merging this pull request may close these issues.

API 4.6
5 participants
@Poolitzer@Bibo-Joshi@simonsmh@sharunkumar@jay-babu

[8]ページ先頭

©2009-2025 Movatter.jp