Bibo-Joshi
67e7468366
Move Examples To Documentation ( #3089 )
2022-06-09 17:22:32 +02:00
Bibo-Joshi
11007c1715
Documentation Improvements ( #3010 , #3007 , #3012 , #3067 , #3081 , #3082 )
...
Co-authored-by: KnorpelSenf <shtrog@gmail.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Poolitzer <github@poolitzer.eu>
Co-authored-by: Adi <71205439+Aditya-Rajgor@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 17:08:54 +02:00
Bibo-Joshi
5e924014de
Add Tuple Based Version Info and Rename telegram.bot_api_version
to telegram.__bot_api_version__
( #3030 )
2022-05-14 15:50:12 +02:00
Bibo-Joshi
65bbea780a
Rename Handler
to BaseHandler
( #3019 )
2022-05-12 18:18:40 +02:00
Hinrich Mahler
95d6272d20
Bump version to v20.0a0
2022-05-06 19:03:54 +02:00
Bibo-Joshi
a10bf3241e
Documentation Fixes & Improvements ( #2969 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-05-06 18:22:36 +02:00
Bibo-Joshi
950d9a0751
Extend Code Formatting With Black ( #2972 )
2022-05-06 18:22:35 +02:00
Harshil
335772568f
Update and Expand Tests & pre-commit Settings and Improve Code Quality ( #2925 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-06 18:22:34 +02:00
Harshil
e10f9164fe
API 6.0 ( #2956 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-06 18:22:34 +02:00
Bibo-Joshi
42eaa67fd5
Switch to asyncio
( #2731 )
...
Co-authored-by: tsnoam <tsnoam@gmail.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
2022-05-06 18:19:15 +02:00
Bibo-Joshi
7b37f9a6fa
Documentation Improvements ( #2856 , #2798 , #2854 , #2841 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-05-06 18:19:15 +02:00
murugu-21
778eadbe7c
Replace git.io Links ( #2872 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-06 18:19:15 +02:00
Harshil
8560af9c4f
Remove telegram.ReplyMarkup ( #2870 )
2022-05-06 18:19:14 +02:00
Bibo-Joshi
ced58b790e
Documentation Improvements ( #2693 , #2691 , #2739 )
2022-05-06 18:19:14 +02:00
Harshil
145d04230b
Overhaul of Filters ( #2759 )
2022-05-06 18:19:13 +02:00
Bibo-Joshi
0e60d56f53
Introduce Enums for telegram.constants ( #2708 )
2022-05-06 18:19:13 +02:00
eldbud
7e51901d51
Refactor MRO of InputMedia* and Some File-Like Classes ( #2717 )
2022-05-06 18:19:13 +02:00
Kenneth Cheo
5275c45199
Mark Internal Modules As Private ( #2687 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-06 18:19:12 +02:00
Bibo-Joshi
7afce46d9f
Introduce Builder Pattern for Updater and Dispatcher ( #2646 )
2022-05-06 18:19:12 +02:00
Bibo-Joshi
90b82eed99
Pass Failing Jobs to Error Handlers ( #2692 )
2022-05-06 18:19:11 +02:00
Bibo-Joshi
c486c396da
Doc Fixes ( #2597 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
2022-05-06 18:19:11 +02:00
Bibo-Joshi
c440c255a7
Clear Up Import Policy ( #2671 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-05-06 18:19:11 +02:00
Harshil
f6497093ce
Warnings Overhaul ( #2662 )
2022-05-06 18:19:11 +02:00
Bibo-Joshi
8f0031e9c8
Remove Deprecated Functionality ( #2644 , #2740 , #2745 )
2022-05-06 18:19:10 +02:00
Poolitzer
641f931f19
Drop Non-CallbackContext API ( #2617 )
2022-05-06 18:19:10 +02:00
Bibo-Joshi
be441d56f9
Refactor Initialization of Persistence Classes ( #2604 )
2022-05-06 18:19:09 +02:00
Hinrich Mahler
92cb6f3ae8
Bump version to v13.11
2022-02-02 21:16:36 +01:00
Hinrich Mahler
ade1529986
Bump version to v13.10
2022-01-03 08:36:27 +01:00
Hinrich Mahler
a9dd2b1746
Bump version to v13.9
2021-12-11 15:44:21 +01:00
Hinrich Mahler
c53dc7dae4
Bump version to v13.8.1
2021-11-08 20:09:23 +01:00
Bibo-Joshi
8b3ea5ce56
Add ChatJoinRequest(Handler) to Docs ( #2771 )
2021-11-08 19:56:57 +01:00
Hinrich Mahler
51a4a6664c
Bump version to v13.8
2021-11-08 19:12:10 +01:00
Hinrich Mahler
bcec6f03cb
Bump version to v13.7
2021-07-01 18:03:38 +02:00
Bibo-Joshi
ed147813ab
API 5.3 ( #2572 )
...
* BotCommandScopes
* pre-commit
* typo
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
* rename kickChatMember & getChatMembersCount method
Signed-off-by: starry69 <starry369126@outlook.com>
* add `language_code` and `scope` to `get/set_my_commands`
and add `delete_my_commands()`
* add `input_field_placeholder` to replykeyboardmarkup.py and forcereply.py
also improved/fixed docs along the way
* showcase `input_field_placeholder` in conversationbot.py
* review 1
'i will not go away' has gone away 😢
* deprecate `Bot.commands` and make sure its only used for default scope
* review 2 (use constants for scope)
* Review
Signed-off-by: starry69 <starry369126@outlook.com>
* doc updates
* New ChatMember classes
Signed-off-by: starry69 <starry369126@outlook.com>
* Address review
Signed-off-by: starry69 <starry369126@outlook.com>
* add versionadded tags again
Signed-off-by: starry69 <starry369126@outlook.com>
* Improve tests & add a deprecation note to ChatMember
* test_official
* Documentation tweaks
* Bump bot api version number
* but bot
* Rename chat shortcuts
Signed-off-by: starry69 <starry369126@outlook.com>
* deepsource
Signed-off-by: starry69 <starry369126@outlook.com>
* add missing slot in botcommandscope & missing slot tests
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: starry69 <starry369126@outlook.com>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-07-01 17:45:19 +02:00
Bibo-Joshi
a75dffd4a8
Doc Fixes ( #2551 )
...
* Document ExtBot.insert_callbakc_data
* fix duplicate object descriptions
Fixed by removing `:undoc-members:` in the affected classes.
Closes https://github.com/sphinx-doc/sphinx/issues/9294
* fix incorrect shortcut docstrings in user.py
* fix object type in forcereply.py
* fix discuss bot link in loginurl.py
* document that message is None for (my)_chat_member
in `effective_message`
* numerous persistence rendering fixes
* move docstring from property setter to property
* Revert "fix object type in forcereply.py"
This reverts commit 012663e0c3
.
* Document comparison of jobs
* Update min python version to 3.6.8
* remove old note from chat.py + some return msg fixes
* fix colon placement
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2021-07-01 17:34:23 +02:00
Hinrich Mahler
e982a5a567
Bump version to v13.6
2021-06-06 12:28:01 +02:00
Bibo-Joshi
8531a7a40c
Arbitrary callback_data ( #1844 )
2021-06-06 11:48:48 +02:00
Bibo-Joshi
fce7cc903c
Add ContextTypes & BasePersistence.refresh_user/chat/bot_data ( #2262 )
2021-06-06 10:37:53 +02:00
Hinrich Mahler
94a9b7f983
Bump version to v13.5
2021-04-30 11:15:38 +02:00
Bibo-Joshi
bae57c7f8f
Doc Fixes ( #2437 )
...
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2021-04-30 10:47:41 +02:00
Bibo-Joshi
b6a6d7f872
Api 5.2 ( #2489 )
...
* Bump API Version to v5.2
* InputInvoiceMessageContent & simplify *Markup.__eq__ on the fly
* Updates to send_invoice
* InlineQuery updatees and new parameter for InlineQueryhandler
* VCScheduled - not integrated into Message yet
* Bump requirements-dev.txt versions
* Message.voice_chat_scheduled & new Filters.status_update.vcs
* Some doc updates
* Review
* All praise harshil, the god of finding typos :)
* Review
* More warnings
2021-04-30 10:09:21 +02:00
Aksh Gupta
9d93417d9a
Improve Code Quality ( #2450 )
...
* chore: refactor code quality issues
* Add comment for removing assert statements
* Remove deepsource config file
* Fix Coverage
Co-authored-by: Hinrich Mahler <hinrich.mahler@freenet.de>
2021-04-05 13:25:27 +02:00
Hinrich Mahler
ccedd3a87d
Bump version to v13.4.1
2021-03-14 19:21:44 +01:00
Hinrich Mahler
21ded420e2
Bump version to v13.4
2021-03-14 17:00:26 +01:00
Bibo-Joshi
7d893fd04b
Doc Fixes ( #2404 )
...
* Improve some badges for PTB-Raw
* doc fix for add_error_handler
* Some rendering
* Bump sphinx dependency
* Change signature annotation setting
* fix: chat_id can be string, message_id only int
* feat: add RTD link to documentation
* improving sender chat docstring (#2412 )
* fix: improving sender chat docstring
also adding a note to a weird edge case
* fix: words being hard
* Add note on donations
* typo
* typo in User.get_profile_pictures docstrings
* Fix: meth, not attr for meth, not attr
* filters + inlinequery doc fix
* Bump versions, update RTD config file
* Try fix build
* Revert "fix: chat_id can be string, message_id only int"
This reverts commit ba04e5aa
* Add Starry & Harshil to credits
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-03-14 16:46:37 +01:00
Poolitzer
ac02bce109
API 5.1 ( #2424 )
...
* Feat: New invite links
* Fix: doc strings
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
* new dice, new admin privilege, revoke_messages, update and fix some docs
* add missing param to shortcut
* Add ChatMemberUpdated
* Add voicechat related objects
Signed-off-by: starry69 <starry369126@outlook.com>
* add versionadd tags
Signed-off-by: starry69 <starry369126@outlook.com>
* Fix filter tests
* Update tg.Update
* ChatMemberHandler
* Add versioning directives
* add can_manage_voice_chats attr and fix docs
Signed-off-by: starry69 <starry369126@outlook.com>
* fix chat shortcut
Signed-off-by: starry69 <starry369126@outlook.com>
* address review
* MADTC
* Chat.message_auto_delete_time
* Some doc fixes
* address review
Signed-off-by: starry69 <starry369126@outlook.com>
* welp
Signed-off-by: starry69 <starry369126@outlook.com>
* Add voicechat related filters
Signed-off-by: starry69 <starry369126@outlook.com>
* Fix: Addressing review
change place of version adding, added obj:True as doc string, changing how member limit is initiated
* feat: adding chat shortcuts for invite links
* fix: changing equality of chatinviteobjects
* Non-test comments
* Some test fixes
* A bit more tests
* Bump API version in both readmes
* Increase coverage
* Add Bot API Version in telegram.constants (#2429 )
* add bot api version in constants
Signed-off-by: starry69 <starry369126@outlook.com>
* addressing review
Signed-off-by: starry69 <starry369126@outlook.com>
* add versioning directive
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
* pre-commit & coverage
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
Co-authored-by: starry69 <starry369126@outlook.com>
2021-03-14 16:41:35 +01:00
Hinrich Mahler
e9c01c7772
Bump version to v13.3
2021-02-19 19:55:49 +01:00
Bibo-Joshi
2a4a0d0ccd
Refactor Defaults Integration ( #2363 )
...
* Change default handling, update signatures, get existing tests to pass.
* Try running tests on ubuntu 18.04
* Roll back
* Rework check_shortcut_call tests
* Further improve check_shortcut_call tests
* Start on defaults-checks for shortcuts, get it working for test_message
* Add check_shortcut_defaults to all other shortcut tests
* Some fine tuning
* Add defaults checking for bot methods
* Missing tests for TestCallbackQuery
* Test edit_message_media with defaults & some comments
* Fix cryptography requirement
* drop debug prints
* Remove debug prints
* Another try
* Try to fix coverage & logs
* Rearrange test order
* increase coverage
* Try to fix coverage reports
* address review
* Adapt tests like in #2386
* fix CI
* fix CI
2021-02-19 19:07:48 +01:00
Harshil
eb993db473
Add Missing telegram.SecureValue to init and Docs ( #2398 )
2021-02-19 17:46:52 +01:00
Hinrich Mahler
1902c0ac36
Bump version to v13.2
2021-02-02 20:57:14 +01:00