1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00
Commit Graph

535 Commits

Author SHA1 Message Date
_run
8b735aa114
Update __init__.py 2022-11-13 13:34:54 +04:00
coder2020official
0846852ea1 Added all necessary parameters
Added the parameter message_thread_id to the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendPoll, sendDice, sendInvoice, sendGame, sendMediaGroup, copyMessage, forwardMessage to support sending of messages to a forum topic.
2022-11-06 17:31:49 +04:00
coder2020official
4825624d48 Added docs to types, added new methods
Added the methods createForumTopic, editForumTopic, closeForumTopic, reopenForumTopic, deleteForumTopic, unpinAllForumTopicMessages, and getForumTopicIconStickers for forum topic management.
2022-11-06 15:43:16 +04:00
coder2020official
7958d0dca7 Added can_manage_topics for promotechatmember
Added the parameter can_manage_topics to the method promoteChatMember.
2022-11-06 15:04:41 +04:00
batmanscode
92ecfdec48
fixes: debug removed from uvicorn #1767 2022-10-30 17:21:53 +00:00
Badiboy
31c3a2b2a3
Merge pull request #1742 from byehack/ContinueHandling
Support ContinueHandling
2022-10-11 19:03:44 +03:00
Badiboy
0ca8007633
Merge pull request #1747 from coder2020official/master
Update __init__.py
2022-10-07 20:57:49 +03:00
_run
c541533762
Update __init__.py 2022-10-07 21:50:51 +04:00
byehack
4798c26188
improve code quality 2022-10-02 12:05:20 +03:30
byehack
30aaf8d0f1
Support ContinueHandling 2022-10-02 03:27:06 +03:30
coder2020official
2d1f39085d Improved code readability x 2 2022-10-01 22:34:49 +04:00
coder2020official
b523cec22f Improved code readability 2022-10-01 22:32:41 +04:00
coder2020official
27e0197855 Added examples and made it possible to specify --path path for path 2022-10-01 21:28:53 +04:00
coder2020official
ea69b8093d Added some notes 2022-10-01 21:15:24 +04:00
coder2020official
04ff428bba Added option to specify path to watch 2022-10-01 21:02:40 +04:00
coder2020official
eb576d83fb Fixed a bug, made improvements in reload system
Didn't test that much, there is still some stuff to do
2022-09-30 23:22:21 +04:00
_run
d3080b6d4e
Merge branch 'master' into conflicts 2022-09-30 22:53:19 +04:00
Badiboy
b3993bb019 Merge remote-tracking branch 'upstream/master' 2022-09-24 22:14:45 +03:00
coder2020official
e002484a9b ⚙️ Added some frequent parameters to classes(see full list)
Added:
- disable_web_page_preview
- disable_notification
- protect_content
- allow_sending_without_reply
2022-09-23 21:52:40 +04:00
Badiboy
52e09637c2 Fix: do not call handler in one more task 2022-09-17 23:17:07 +03:00
Badiboy
598de25b6d Rename _check_middlewares to _get_middlewares 2022-09-17 12:55:55 +03:00
Badiboy
da639dd1f6 Handlers and Middlewares processing union
Call for handlers now union in a single function for future extension.

Plus minor fixes in storages.
2022-09-17 11:57:12 +03:00
coder2020official
0f7ab0d05f Added colorful logs, file restarts on changes to sync 2022-08-30 21:25:41 +04:00
Badiboy
f4e66f6807 Added traceback for handlers exception 2022-08-21 22:27:02 +03:00
Badiboy
b1a4136603 Code simplify and sync/async unificatiion 2022-08-21 20:32:37 +03:00
_run
3d2576ca24 Fixed bug with searching a new handler after the execution of handler 2022-08-21 20:42:55 +05:00
Badiboy
426f9f3787 Typo fix
and minor code opt
2022-08-16 17:12:50 +03:00
_run
ffb34da610 Fix 2022-08-13 14:40:20 +05:00
_run
2647a02fc6 Contains_mask 2022-08-13 14:36:48 +05:00
_run
dd4073fd74 Fixes regarding contains_masks 2022-08-13 13:22:25 +05:00
_run
40698408c9 Bot API 6.2 2022-08-12 22:10:08 +05:00
_run
b0e06253ff Completed docstrings for all files except types.py 2022-07-24 23:14:09 +05:00
_run
f0feb45e87 Completed all docstrings / typehints up to 100%(visual) 2022-07-19 23:51:25 +05:00
_run
c2cfe24426 Typehints & Docstrings completed for sync version up to 100%(visual) 2022-07-19 23:49:05 +05:00
_run
f6ec3493ad Fixed 45% of typehints/docstrings for sync telebot 2022-07-19 00:27:21 +05:00
_run
e379708af6
Update __init__.py 2022-07-16 20:12:38 +05:00
_run
9f7b113e2f
Merge branch 'master' into master 2022-07-16 20:11:40 +05:00
_run
22beead3b5 Update __init__.py 2022-07-16 20:09:52 +05:00
Badiboy
5dbe1b3523
Merge pull request #1631 from coder2020official/newfeatures
update_sensitive field for middlewares
2022-07-16 12:46:12 +03:00
_run
0c6f84c79a update_sensitive field for middlewares 2022-07-15 16:24:15 +05:00
Badiboy
a1bcd3c42e use_class_middlewares checks added 2022-07-13 13:10:16 +03:00
Badiboy
b276bfacaf Fix exception with typed_middleware_handlers
+ some additional checks
2022-07-13 12:30:13 +03:00
Badiboy
16703161aa Typo 2022-07-12 22:44:25 +03:00
Badiboy
a3a55e7393
Merge pull request #1617 from coder2020official/bugfixes
Extended exception handler behaviour with middlewares for synchronous version as well
2022-07-12 22:12:20 +03:00
_run
194bf6e95d Merge branch 'bugfixes' of https://github.com/coder2020official/pyTelegramBotAPI into bugfixes 2022-07-11 23:23:10 +05:00
_run
124606fdcb Extend exception handler behaviour with middlewares 2022-07-11 23:22:11 +05:00
_run
90a90d4a34 Divided async and sync versions into aio & sync folders 2022-07-09 22:30:36 +05:00
_run
970b9d6be4 SyncWebhookListener was rewritten under fastapi. Extensions folder was divided into 2(namings are long, might be changed) 2022-07-08 21:13:07 +05:00
_run
2f32236680 Added run_webhooks for asynctelebot 2022-07-07 22:56:13 +05:00
_run
f8f147f9f4 Fix certificate for webhooks 2022-07-07 15:53:27 +05:00
_run
e353572c03 Update webhooks listeners. 2022-07-07 15:09:02 +05:00
_run
eb4cd7aba0 Webhook processing function using flask for sync 2022-07-06 21:31:03 +05:00
_run
36749cbdd9
Merge branch 'eternnoir:master' into master 2022-06-30 17:10:25 +05:00
_run
419bc5878f Fix typehint for ``set_state`` 2022-06-30 17:06:39 +05:00
Badiboy
b9b4885568
Merge pull request #1597 from Badiboy/master
Copyright update
2022-06-29 19:25:40 +03:00
Badiboy
ce0a974c91 Copyright update 2022-06-29 19:24:27 +03:00
_run
6e8abc709e Pass only the necessary data 2022-06-28 19:51:51 +05:00
_run
a2893945b2 Async changes and sync improvements 2022-06-25 22:15:53 +05:00
_run
1686ce4f44 Middleware update: everything in data will be passed to handler if needed. 2022-06-25 21:48:44 +05:00
coder2020official
0d0f9ef330 Added secret token and create_invoice_link 2022-06-21 15:20:55 +05:00
coder2020official
33375ac135 Added ability to set default parse_mode for explanation_parse_mode in send_poll 2022-05-21 17:10:29 +05:00
everpcpc
3ff7e28467
fix: warning none_stop parameter is deprecated 2022-05-15 14:29:29 +08:00
AHOHNMYC
e051dda113
CopyMessage return type fix 2022-05-14 15:46:05 +03:00
Badiboy
db0c946780 Polling exception logging updated
Polling exception logging arranged with infinity_polling mode
2022-05-01 00:17:14 +03:00
coder2020official
191164cba0 Fix traceback 2022-05-01 00:45:34 +05:00
Badiboy
ad5b92b650 Remove incorrect deprecation 2022-04-23 19:35:38 +03:00
Badiboy
dd25432359 Bot API 6.0. Deprecation fixes 2022-04-23 15:03:54 +03:00
coder2020official
b146df346d Indentation fix to fit documentation. 2022-04-17 16:46:38 +05:00
coder2020official
a1bf961fd2 Bump Bot API 6.0(Beta) 2022-04-17 16:39:09 +05:00
coder2020official
22b4e636e2 Road to release(1st part) 2022-04-16 00:13:14 +05:00
coder2020official
a6477541c0 Documentation incorrect display is fixed now. 2022-03-19 13:49:36 +05:00
coder2020official
477d02468d Fixed middlewares 2022-03-07 21:40:39 +05:00
coder2020official
244b058648 Fix 2022-03-07 21:13:30 +05:00
coder2020official
dd589e2490 Updated documentation to another theme. 2022-03-07 16:10:44 +05:00
coder2020official
c8fb83c97c Fix documentation 2022-03-07 14:24:28 +05:00
coder2020official
be0557c2b5 Multiple middlewares allowed for async 2022-03-07 13:30:39 +05:00
coder2020official
f69a2ba044 Update docstrings for asynctelebot. 2022-03-07 00:18:11 +05:00
coder2020official
c45e06c694 Updated description for TeleBot class 2022-03-06 23:23:33 +05:00
coder2020official
78bdf1ca4e Update docstrings 2022-03-06 23:14:07 +05:00
coder2020official
3c7d3c0196 Fix tests 2022-03-06 19:52:42 +05:00
coder2020official
441a5793cc Update docstrings to correct documentation. 2022-03-06 19:41:54 +05:00
coder2020official
388477686b Added middlewares.
Bumped middlewares
2022-03-06 18:39:41 +05:00
Badiboy
94be2abdbd Typo 2022-02-19 21:39:52 +03:00
Badiboy
6c31b53cd9 Fix check of the regexp and commands types 2022-02-19 21:39:02 +03:00
Troshchk
ec766a3e43 Wrapping checking in private methods; warnings changed to errors 2022-02-16 14:05:54 +01:00
Troshchk
9075430210 Making first condition shorter, no change in functionality 2022-02-15 15:46:02 +01:00
Troshchk
68095ad69a Adding checks for the commands and regexp input types 2022-02-15 15:24:55 +01:00
Badiboy
ce56a035b5 Extend custom exception_handler behaviour 2022-02-01 23:58:57 +03:00
_run
4e7652be7a Bot API 5.7 2022-02-01 14:47:42 +04:00
Andrea Barbagallo
69277400b7 The output of get_me() is already an User object 2022-01-30 17:53:55 +01:00
Badiboy
4166fb229e Code base cleanup 2022-01-24 22:38:35 +03:00
_run
ad4ff5835e
Merge branch 'eternnoir:master' into master 2022-01-24 17:15:35 +04:00
_run
a3cda2e0ff Updated sync and async. Fixes and new features. 2022-01-24 17:15:04 +04:00
Artem Lavrenov
a07bf86c30 add default None for get_my_commands parameters scope and language_code sync\async, add examples for bot.set_my_commands 2022-01-21 21:50:33 +03:00
Badiboy
9140044956 Tests ant type hint fix 2022-01-10 16:49:49 +03:00
Badiboy
8d8aa5a380 Bugfix in send_data
Bugfix in send_data
Protected methods renamed
Some hints added
2022-01-10 14:38:28 +03:00
_run
3f243c64ca Fix data-typo 2022-01-02 22:09:09 +04:00
_run
034241ba31 Fix commit 2022-01-02 14:58:15 +04:00
_run
d334f5cb8d Added protect_content parameter. Remade some methods. 2021-12-31 15:05:40 +04:00
Badiboy
e59e2ee2ee send_document param type fix 2021-12-25 16:23:26 +03:00