Harshil
67a97ae5a7
API 7.10 ( #4461 , #4460 , #4463 , #4464 )
...
Co-authored-by: aelkheir <90580077+aelkheir@users.noreply.github.com>
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-09-17 18:09:19 +02:00
Poolitzer
01f689373c
Bot API 7.9 ( #4429 )
...
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2024-09-01 09:32:42 +02:00
Poolitzer
71e4015e22
API 7.7 ( #4356 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-07-09 10:35:18 +02:00
Harshil
dba7866aab
API 7.6 ( #4333 , #4341 , #4342 , #4334 , #4335 , #4344 , #4348 , #4351 )
...
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-07-07 13:08:52 +02:00
Harshil
146ec54a00
API 7.5 ( #4312 , #4311 , #4315 , #4328 , #4316 )
...
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-07-01 21:45:37 +02:00
Bibo-Joshi
44e8292838
Drop python-telegram-bot-raw
And Switch to pyproject.toml
Based Packaging ( #4288 )
2024-06-15 10:29:19 +02:00
Hinrich Mahler
a9f6afd015
Bump version to v21.3
2024-06-07 16:52:22 +02:00
Bibo-Joshi
57298aa076
Deprecate python-telegram-bot-raw
( #4270 )
2024-06-01 21:19:38 +02:00
Bibo-Joshi
805b7bff32
API 7.3 ( #4243 , #4248 , #4247 , #4242 , #4246 , #4260 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Abdelrahman Elkheir <90580077+aelkheir@users.noreply.github.com>
2024-05-20 15:25:25 +02:00
Harshil
5fa457974d
API 7.2 ( #4180 , #4181 )
...
Co-authored-by: Mahdyar Hasanpour <mahdyar@duck.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Abdelrahman Elkheir <90580077+aelkheir@users.noreply.github.com>
Co-authored-by: Aditya <adityayadav11082@gmail.com>
2024-04-12 11:58:25 +02:00
Poolitzer
099ab5d9fa
API 7.1 ( #4118 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2024-03-02 10:56:15 +01:00
Bibo-Joshi
277031cfb2
Remove Functionality Deprecated in API 7.0 ( #4114 )
2024-02-25 10:34:47 +01:00
Abdelrahman Elkheir
5b6cd3a33b
Update Copyright to 2024 ( #4121 )
2024-02-19 20:06:25 +01:00
Aditya Yadav
03d2359061
API 7.0 ( #4034 , #4038 )
...
Co-authored-by: poolitzer <github@poolitzer.eu>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: aelkheir <arelkheir@gmail.com>
Co-authored-by: aelkheir <90580077+aelkheir@users.noreply.github.com>
2024-02-08 17:12:00 +01:00
Bibo-Joshi
dc284a1a73
Introduce sort-all
Hook for pre-commit
( #4052 )
2024-01-08 18:35:32 +01:00
Harshil
bd24da29cd
API 6.8 ( #3853 )
...
Co-authored-by: Aditya <clot27@apx_managed.vanilla>
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2023-09-03 13:43:44 +02:00
Bibo-Joshi
8c252c9822
API 6.7 ( #3673 )
...
Co-authored-by: Dmitry Kolomatskiy <58207913+lemontree210@users.noreply.github.com>
Co-authored-by: Harshil Mehta <37377066+harshil21@users.noreply.github.com>
Co-authored-by: poolitzer <github@poolitzer.eu>
Co-authored-by: Aditya <clot27@apx_managed.vanilla>
2023-05-07 13:44:34 +02:00
Bibo-Joshi
512e390738
API 6.6 ( #3584 )
...
Co-authored-by: poolitzer <github@poolitzer.eu>
Co-authored-by: Dmitry Kolomatskiy <58207913+lemontree210@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2023-03-25 11:47:26 +01:00
Poolitzer
23a685335b
API 6.5 ( #3530 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2023-02-08 11:47:21 +01:00
Bibo-Joshi
23d0bd8fe3
Explicit Type Annotations ( #3508 )
2023-02-02 18:55:07 +01:00
Bibo-Joshi
51ad4d76d0
Update Copyright to 2023 ( #3459 )
2023-01-01 21:31:29 +01:00
Harshil
606773d8f0
API 6.4 ( #3449 )
...
Co-authored-by: poolitzer <github@poolitzer.eu>
Co-authored-by: Dmitry Kolomatskiy <58207913+lemontree210@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2023-01-01 17:00:49 +01:00
Harshil
caacafa090
API 6.3 ( #3346 )
...
Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Dmitry Kolomatskiy <58207913+lemontree210@users.noreply.github.com>
Co-authored-by: Clot <69784758+clot27@users.noreply.github.com>
2022-11-22 10:43:50 +01:00
Harshil
e1d56178c8
Fix DeepSource Issues ( #3357 )
2022-11-11 18:18:42 +01:00
Bibo-Joshi
d2cabcaa74
Adjust pre-commit
Settings for isort
( #3043 )
2022-05-18 17:23:00 +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
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
Harshil
8560af9c4f
Remove telegram.ReplyMarkup ( #2870 )
2022-05-06 18:19:14 +02:00
Harshil
89d5310504
Use __all__ Consistently ( #2805 )
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
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
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
4a329aa4da
Move and Rename TelegramDecryptionError to telegram.error.PassportDecryptionError ( #2621 )
2022-05-06 18:19:09 +02:00
Harshil
e6d9f3d057
Update Copyright to 2022 ( #2836 )
2022-01-03 08:15:18 +01:00
Bibo-Joshi
e4dc80f41d
API 5.4 ( #2767 )
...
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
2021-11-08 19:02:20 +01: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
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
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
Bibo-Joshi
3a9a0ab96d
Update pre-commit Settings ( #2415 )
...
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-03-13 16:21:03 +01:00
Harshil
eb993db473
Add Missing telegram.SecureValue to init and Docs ( #2398 )
2021-02-19 17:46:52 +01:00
starry69
91e0271e4c
Update copyright headers
...
Signed-off-by: starry69 <starry369126@outlook.com>
2021-01-03 10:40:24 +05:30
Bibo-Joshi
ae9ce60b55
API 5.0 ( #2181 )
...
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2020-11-29 16:20:46 +01:00
Bibo-Joshi
264b2c9c72
Switch Code Formatting to Black ( #2122 )
...
* Swtich code formatting to Black
* Update docs
* Fix tests
* TRy fixing pre-commit
2020-10-09 17:22:07 +02:00
Hinrich Mahler
5fd7606084
Type Hinting ( #1920 )
2020-10-07 20:30:41 +02:00
Bibo-Joshi
d63e710784
API 4.7 ( #1858 )
...
* Pure API changes
* Address review
* set Bot.commands on successfull call of set_my_commands
* Get started on tests
* More tests!
* More Coverage!
* Reset changes in utils.request
* Filters.dice, Filters.dice.text
* more coverage
* Address review
* Address review
* Test stop_poll with reply_markup
* Test stop_poll also without reply_markup
* Rephrase note on 'dice'
* Fix grammar in note on Filters.dice
* update api version readme
* address review
2020-04-10 19:22:45 +02:00
Poolitzer
55e3ecf9f8
API 4.6 ( #1723 )
...
* First take on 4.6 support
* improved docs
* Minor doc formattings
* added poll and poll_answer to filters
* added tests, fixed mentioned issues
* added poll_answer + poll filter tests
* Update docs according to official API docs
* introducing pollhandler and pollanswerhandler
* First take on 4.6 support
* improved docs
* Minor doc formattings
* added poll and poll_answer to filters
* added tests, fixed mentioned issues
* added poll_answer + poll filter tests
* Update docs according to official API docs
* introducing pollhandler and pollanswerhandler
* correct_option_id validated with None
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.
* improving example
* improving code
* adding poll filter example to the pollbot.py
* Update Readme
* simplify pollbot.py and add some comments
* add tests for Poll(Answer)Handler
* We just want Filters.poll, not Filters.update.poll
* Make test_official fail again
* Handle ME.language in M._parse_*
Co-authored-by: Hinrich Mahler <hinrich.mahler@freenet.de>
Co-authored-by: Sharun Kumar <715417+sharunkumar@users.noreply.github.com>
2020-03-29 09:52:30 +02:00
Noam Meltzer
43bfebb150
Update copyright date to 2020 ( #1746 )
2020-02-02 23:08:54 +02:00
Bibo-Joshi
965ad17af8
API 4.4 ( #1464 )
2019-09-06 22:41:43 +03:00