-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Feat: Backport API 6.0 to V13 #3027
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
e9203a2
Feat: Backport API 6.0 to V13
Poolitzer c6330bd
Fix: Deepsource fixes and enable pytest workflow.
Poolitzer 38c08e0
Fix: Bump python test version
Poolitzer d0a1717
Fix: Black reformat
Poolitzer ca2b1ef
Fix: Ignoring backwards fields in official test
Poolitzer fffdc87
Fix: Pytest fails + one error in de_json
Poolitzer 5c67e20
Fix: Github workflows don't like floating point
Poolitzer 53ba667
Fix: Remove 3.10, it's more trouble than worth
Poolitzer fede359
Fix: compare unique id's
Poolitzer cfac808
Apply suggestions from code review
Poolitzer 44dc5c9
Fix: Proper github url for MenuButtons
Poolitzer 43cb8a1
Fix: address review
Poolitzer 534062b
Merge remote-tracking branch 'origin/v13_api6.0' into v13_api6.0
Poolitzer 303a248
Fix: improve videochatstarted
Poolitzer d97c8c5
Fix: I broke a test.
Poolitzer 665fe1f
Fix: remove py3.6 workaround
Poolitzer 6b134c3
Feat: add tests
Poolitzer f932248
Fix: own with blocks
Poolitzer 81a584f
[skip ci]
Poolitzer 206fee7
[pre-commit.ci skip]
Poolitzer dbd798d
Fix: Remove unused type ignore comment
Poolitzer 3063f6a
Revert "Fix: Remove unused type ignore comment"
Poolitzer e8a46ad
Fix: battling the CI
Poolitzer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| :github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatadministratorrights.py | ||
|
|
||
| telegram.ChatAdministratorRights | ||
| ================================ | ||
|
|
||
| .. autoclass:: telegram.ChatAdministratorRights | ||
| :members: | ||
| :show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| :github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/menubutton.py | ||
|
|
||
| telegram.MenuButton | ||
| =================== | ||
|
|
||
| .. autoclass:: telegram.MenuButton | ||
| :members: | ||
| :show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| :github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/menubutton.py | ||
|
|
||
| telegram.MenuButtonCommands | ||
| =========================== | ||
|
|
||
| .. autoclass:: telegram.MenuButtonCommands | ||
| :members: | ||
| :show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| :github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/menubutton.py | ||
|
|
||
| telegram.MenuButtonDefault | ||
| ========================== | ||
|
|
||
| .. autoclass:: telegram.MenuButtonDefault | ||
| :members: | ||
| :show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| :github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/menubutton.py | ||
|
|
||
| telegram.MenuButtonWebApp | ||
| ========================= | ||
|
|
||
| .. autoclass:: telegram.MenuButtonWebApp | ||
| :members: | ||
| :show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| :github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/sentwebappmessage.py | ||
|
|
||
| telegram.SentWebAppMessage | ||
| ========================== | ||
|
|
||
| .. autoclass:: telegram.SentWebAppMessage | ||
| :members: | ||
| :show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| :github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/videochatended.py | ||
|
|
||
| telegram.VideoChatEnded | ||
| ======================= | ||
|
|
||
| .. autoclass:: telegram.VideoChatEnded | ||
| :members: | ||
| :show-inheritance: | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| :github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/videochatparticipantsinvited.py | ||
|
|
||
| telegram.VideoChatParticipantsInvited | ||
| ===================================== | ||
|
|
||
| .. autoclass:: telegram.VideoChatParticipantsInvited | ||
| :members: | ||
| :show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| :github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/videochatscheduled.py | ||
|
|
||
| telegram.VideoChatScheduled | ||
| =========================== | ||
|
|
||
| .. autoclass:: telegram.VideoChatScheduled | ||
| :members: | ||
| :show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| :github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/videochatstarted.py | ||
|
|
||
| telegram.VideoChatStarted | ||
| ========================= | ||
|
|
||
| .. autoclass:: telegram.VideoChatStarted | ||
| :members: | ||
| :show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| :github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/webappdata.py | ||
|
|
||
| telegram.WebAppData | ||
| =================== | ||
|
|
||
| .. autoclass:: telegram.WebAppData | ||
| :members: | ||
| :show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| :github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/webappinfo.py | ||
|
|
||
| telegram.WebAppInfo | ||
| =================== | ||
|
|
||
| .. autoclass:: telegram.WebAppInfo | ||
| :members: | ||
| :show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.