Bibo-Joshi
ffe23be992
Documentation Improvements ( #4573 , #4565 )
...
Co-authored-by: Snehashish Biswas <coderrx06@gmail.com>
Co-authored-by: poolitzer <github@poolitzer.eu>
2024-12-01 11:47:38 +01:00
Pablo Martínez
5ab82a9c2b
Drop Support for Python 3.8 ( #4398 )
...
Co-authored-by: poolitzer <github@poolitzer.eu>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2024-10-24 20:48:49 +02:00
Bibo-Joshi
6b5e46cc08
Improve Type Completeness ( #4466 )
2024-09-14 08:16:39 +02:00
Harshil
cfc75bb08b
Bump ruff
and Add New Rules ( #4329 )
2024-06-30 18:22:12 +02:00
Bibo-Joshi
ae2858783a
Documentation Improvements ( #4109 , #4116 )
...
Co-authored-by: Aditya <adityayadav11082@gmail.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Maurice Banerjee Palmer <31225563+mbanerjeepalmer@users.noreply.github.com>
2024-03-06 14:45:50 +01:00
Harshil
ab90cd7359
One-Time Code Formatting Improvement via --preview
Flag of black
( #3882 )
2023-09-22 18:19:21 +02:00
pre-commit-ci[bot]
f77f4b0cf7
pre-commit
autoupdate (#3876 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2023-09-09 23:12:30 +02:00
Harshil
58a109aae6
Remove Version Check from Examples ( #3846 )
2023-08-21 18:47:05 +02:00
Bibo-Joshi
03f87750d4
Provide Versions of customwebhookbot.py
with Different Frameworks ( #3820 )
2023-08-16 21:15:32 +02:00
Bibo-Joshi
db6030ea83
Documentation Improvements ( #3698 , #3708 , #3767 )
...
Co-authored-by: Iulian Onofrei <5748627+revolter@users.noreply.github.com>
Co-authored-by: Poolitzer <github@poolitzer.eu>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Aditya <clot27@apx_managed.vanilla>
2023-07-09 11:22:08 +02:00
Bibo-Joshi
4a6e0fd7a6
Add Quotes for Installation Instructions With Optional Dependencies ( #3780 )
2023-06-29 07:46:00 +02:00
Dmitry Kolomatskiy
63fd846233
Set httpx
Logging Level to Warning in Examples ( #3746 )
2023-06-07 22:32:04 +02:00
Luca Bellanti
1a7edd7a5d
Explicitly set allowed_updates
in Examples ( #3741 )
2023-06-04 17:11:58 +02:00
MiguelX413
99fd4432db
Use Explicit Optionals ( #3692 )
...
Co-authored-by: Dmitry Kolomatskiy <58207913+lemontree210@users.noreply.github.com>
2023-05-18 07:57:59 +02:00
Harshil
9997a9f47e
Empower ruff
( #3594 )
2023-03-25 19:18:04 +01:00
Bibo-Joshi
4ddc36c625
Documentation Improvements ( #3565 , #3600 )
...
Co-authored-by: Dmitry Kolomatskiy <58207913+lemontree210@users.noreply.github.com>
Co-authored-by: poolitzer <github@poolitzer.eu>
Co-authored-by: Louis Wang <beiluonever@users.noreply.github.com>
2023-03-25 12:48:34 +01:00
Dmitry Kolomatskiy
54d0294f92
Enhance chatmemberbot
Example ( #3500 )
2023-01-19 21:33:16 +01:00
Aditya
f8be97c12c
Add Notes and Warnings About Optional Dependencies ( #3393 )
2022-12-02 12:08:11 +01:00
Bibo-Joshi
05c6ca06f8
Fix Naming and Keyword Arguments of File.download_*
Methods ( #3380 )
2022-11-24 12:09:51 +01:00
Hinrich Mahler
20c3532e01
Bump version to v20.0a5
2022-11-22 12:51:57 +01:00
Poolitzer
636654cb71
Split File.download
Into File.download_to_drive
And File.download_to_memory
( #3223 )
2022-11-02 08:28:41 +01:00
dependabot[bot]
76c2fc1776
Bump sphinx
from 5.2.3 to 5.3.0 ( #3300 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-10-23 14:59:27 +02:00
David
76bfe8ceff
Mermaid-based Example State Diagrams ( #3090 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-06-24 18:15:10 +02:00
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
42276338b1
Add Arguments chat/user_id
to CallbackContext
And Example On Custom Webhook Setups ( #3059 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-06-03 16:55:36 +02:00
Bibo-Joshi
e10d933fde
Add Example for WebApp
( #3052 )
2022-05-19 22:14:02 +02:00
Harshil
3013870c1f
Add Version Check to Examples ( #3036 )
2022-05-15 14:08:40 +02:00
Harshil
72c3eb857b
Improve Type Annotations for CallbackContext
and Move Default Type Alias to ContextTypes.DEFAULT_TYPE
( #3017 , #3023 )
...
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-12 19:36:25 +02:00
Aditya Yadav
1f7efe4519
Rename Job.context
to Job.data
( #3028 )
2022-05-12 19:26:03 +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
Bibo-Joshi
823d030c2c
Use enums for dynamic types & rename two attributes in ChatMember ( #2817 )
2022-05-06 18:21:36 +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
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
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
Bibo-Joshi
7afce46d9f
Introduce Builder Pattern for Updater and Dispatcher ( #2646 )
2022-05-06 18:19:12 +02:00
Piraty
edb30cf342
Use Error Messages for Pylint Instead of Codes ( #2700 )
2022-05-06 18:19:12 +02:00
eldbud
1edfa1504c
Handle Filepaths via the Pathlib Module ( #2688 )
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
Bibo-Joshi
be441d56f9
Refactor Initialization of Persistence Classes ( #2604 )
2022-05-06 18:19:09 +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
Harshil
d08172b4b0
Remove Deprecated pass_args from Deeplinking Example ( #2550 )
2021-06-07 09:05:17 +02:00
Bibo-Joshi
cf4d3cae01
Doc Fixes ( #2495 )
...
Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
Co-authored-by: Bas ten Berge <bas+github@tenberge-ict.nl>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-06-06 12:16:23 +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
Bibo-Joshi
e2c6d60721
Improve Code Quality ( #2536 )
...
* Start fixing stuff
* More docstrings
* stabilize test_idle
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-05-27 20:34:58 +02:00
Bibo-Joshi
8bf88c3231
Supplement Codacy with DeepSource ( #2454 )
...
* Add deepsource config
* Update Badges
* Update Badges some more
* Stupid change to trigger analysis of all files
* Try to get ignore right
* Update badges again
* Get started on fixing issues
* Fix some more issues
* Remove more plank lines
* Docs for de_json/list & to_dict/json
* Some improvements from deepcode.ai
* Some more improvements
* Some more improvements
* More docstrnigs & let's run DS on the tests just for fun
* Autofix issues in 10 files
Resolved issues in the following files via DeepSource Autofix:
1. tests/conftest.py
2. tests/test_bot.py
3. tests/test_commandhandler.py
4. tests/test_conversationhandler.py
5. tests/test_dispatcher.py
6. tests/test_filters.py
7. tests/test_inputmedia.py
8. tests/test_messagehandler.py
9. tests/test_official.py
10. tests/test_persistence.py
* Some more improvements for tests, but that shall be enough
* Some more docstrings for functions
* Some minor stuff, try to fix tests
* Update DS config
* Still more docs
* Doc fixes
* More fixes
* Fix: indent docstring
* Some fixes
* Revert "Stupid change to trigger analysis of all files"
This reverts commit dd46c260
* Review
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
2021-05-27 09:38:17 +02:00