-
Notifications
You must be signed in to change notification settings - Fork 5.8k
API 6.0 #2956
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
API 6.0 #2956
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
0bf01fe
Added (Sent)WebApp{Data, Info, Message} and tests
harshil21 cde96b9
deepsource + test fix
harshil21 28d0ee7
A bunch of renamings
Bibo-Joshi c3fcc5c
MenuButton* classes - no tests yet
Bibo-Joshi db75de7
tests for MenuButton*
Bibo-Joshi bc7f919
add missing slots
Bibo-Joshi be6111c
review
harshil21 e444400
set/getchatmenubutton - not tests yet
Bibo-Joshi 03cea71
Merge remote-tracking branch 'origin/api-6.0' into api-6.0
Bibo-Joshi 54a6a48
Add ChatAdminRights and its methods + tests
harshil21 de32bc1
v14 -> v20 for these new classes and methods
harshil21 4554f5a
Merge branch 'api-6.0' of https://github.com/python-telegram-bot/pyth…
harshil21 0d88c1c
add new param to webhookinfo
harshil21 3429c2a
Fix docs and add menu methods to bot_methods.rst
harshil21 3a4285b
add de_json for WebhookInfo + adjust its test
harshil21 b468a7d
add missing camelcase chatadminrights methods
harshil21 6801613
Add filters.StatusUpdate.WEB_APP_DATA + test
harshil21 86e8431
bump api version number
harshil21 061ccb6
add tests for menu methods
harshil21 094f3db
add missing versionadded in webappmenu
harshil21 93aecfb
Fix test_offical + pre-commit
harshil21 ee539c7
review
Bibo-Joshi 517fe2b
where -> were
harshil21 e59b1d5
review
Bibo-Joshi d06c735
merge v14 and fix conflict
harshil21 eff4cc2
Merge branch 'v14' into api-6.0
Bibo-Joshi 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 @@ | ||
telegram.ChatAdministratorRights | ||
================================ | ||
|
||
.. versionadded:: 20.0 | ||
|
||
.. 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,6 @@ | ||
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,6 @@ | ||
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,6 @@ | ||
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,6 @@ | ||
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,6 @@ | ||
telegram.SentWebAppMessage | ||
Bibo-Joshi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
=============================== | ||
|
||
.. 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,7 @@ | ||
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,7 @@ | ||
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,7 @@ | ||
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,7 @@ | ||
telegram.VideoChatStarted | ||
========================= | ||
|
||
.. autoclass:: telegram.VideoChatStarted | ||
:members: | ||
:show-inheritance: | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
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,6 @@ | ||
telegram.WebAppInfo | ||
Bibo-Joshi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
========================= | ||
|
||
.. 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
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.