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

142 Commits

Author SHA1 Message Date
Badiboy
0a79f7e4f3
Merge pull request #1783 from coder2020official/botapi-63
Bot API 6.3 Update
2022-11-13 12:39:38 +03: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
coder2020official
070479f7af Update async_telebot.py 2022-11-05 23:06:28 +04:00
coder2020official
f1f18c6df2 Fix error description 2022-11-05 22:49:07 +04:00
coder2020official
572f103db7 Extended exception handler behaviour for async 2022-10-22 21:48:29 +04:00
Badiboy
31c3a2b2a3
Merge pull request #1742 from byehack/ContinueHandling
Support ContinueHandling
2022-10-11 19:03:44 +03:00
coder2020official
b3953d6249 ℹ️ Better description 2022-10-08 23:03:04 +04:00
coder2020official
2d7170feee Added warning for non_stop=False 2022-10-08 22:35:22 +04:00
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
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
e7a96ec2ed Rename also in Async 2022-09-17 14:09:05 +03:00
byehack
c14760d81c
don't block loop 2022-09-17 13:58:28 +04:30
coder2020official
9216f15c16 Logs, file restarts, loggers to async
Added colorful logs, file restarts on changes, improved logger, added cached version of user-bot to async
2022-08-30 21:26: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
Badiboy
426f9f3787 Typo fix
and minor code opt
2022-08-16 17:12:50 +03:00
_run
20bdb54e94 Update async_telebot.py 2022-08-13 14:57:39 +05: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
6303ecc7c6 Little fix 2022-07-26 20:45:32 +05:00
_run
b0e06253ff Completed docstrings for all files except types.py 2022-07-24 23:14:09 +05:00
Badiboy
2b01765627
Merge pull request #1633 from coder2020official/master
Update async_telebot.py
2022-07-16 18:04:52 +03:00
Badiboy
5dbe1b3523
Merge pull request #1631 from coder2020official/newfeatures
update_sensitive field for middlewares
2022-07-16 12:46:12 +03:00
_run
1efe465e9d
Update async_telebot.py 2022-07-15 22:06:18 +05:00
_run
0c6f84c79a update_sensitive field for middlewares 2022-07-15 16:24:15 +05:00
_run
2fcfdc2584
Merge branch 'eternnoir:master' into master 2022-07-13 21:52:57 +05:00
_run
659501efef
Update async_telebot.py 2022-07-13 21:52:48 +05: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
8c6f81546c A typo fixed 2022-07-11 23:24:22 +05: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
Badiboy
e0e6eee374
Merge pull request #1605 from Badiboy/master
ChatMember is now typed
2022-07-05 00:01:38 +03:00
Badiboy
f3b1f97362 ChatMember is now typed
https://core.telegram.org/bots/api#chatmember
2022-07-03 23:33:55 +03:00
_run
1fb14e28d4 Fix handler execution and #1594 2022-07-02 21:07:00 +05:00
_run
419bc5878f Fix typehint for ``set_state`` 2022-06-30 17:06:39 +05:00
_run
fbb9a73fc0 F###, forgot to put await 2022-06-29 14:52:37 +05: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
coder2020official
7d931abe37 Added secret token and create_invoice_link for asynctelebot 2022-06-21 15:22:00 +05:00
coder2020official
d954f8f5b3 Fixed default parse mode in asynctelebot 2022-05-21 17:10:45 +05:00
AHOHNMYC
3f28bb6e9d
CopyMessage return type fix [async] 2022-05-14 15:48:27 +03:00
Badiboy
b43b636ba0 Bugfix in answer_web_app_query 2022-04-24 11:33:19 +03:00
Badiboy
a54b21cb50 type 2022-04-23 20:19:25 +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
1cdf9640d7 Fix example on chat_member, fix middleware-exception for async 2022-03-08 12:07:00 +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
abdullaev388
c84896391e argument of 'func' parameter in handlers can be async function 2022-03-01 14:39:00 +05:00
_run
4e7652be7a Bot API 5.7 2022-02-01 14:47:42 +04:00
Badiboy
4166fb229e Code base cleanup 2022-01-24 22:38:35 +03:00
_run
91d0877c61 Fix parameter name to fit 2022-01-24 21:28:10 +04:00
_run
8045ad56ea States Update 2022-01-24 21:24:56 +04: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
Michel Romero Rodríguez
685c071056 Removed redundant logger configuration in async_telebot that made logs repeated twice 2022-01-11 19:24:16 -03:00
Badiboy
2e6b6bda53 Additional bugfix
Additional bugfix
Plus protected methods removal
2022-01-10 16:40:33 +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
Badiboy
7490aa0d26
Merge pull request #1400 from Badiboy/master
send_document param type fix
2021-12-25 16:26:50 +03:00
Badiboy
e59e2ee2ee send_document param type fix 2021-12-25 16:23:26 +03:00
_run
24a9491ec0 _make_request function edited 2021-12-25 16:04:29 +04:00
_run
e92946301f Asyncio.run back 2021-12-12 15:07:30 +05:00
_run
bb19687854 fix 2021-12-08 15:15:57 +05:00
_run
311eec6888 fix 2021-12-08 14:15:40 +05:00
_run
08fc32b70a Comment fix 2021-12-08 14:13:39 +05:00
_run
555257a3fe Documentation Bug fixed 2021-12-08 14:00:39 +05:00
_run
038be81db3 5.5 2021-12-07 22:17:51 +05:00
_run
4f198bc6f5 Forgot to update file 2021-12-04 22:03:14 +05:00
_run
411c7e915a No asyncio.run() 2021-11-28 01:04:49 +05:00
_run
d58336adcb Fix 2021-11-28 00:25:56 +05:00
_run
bfc0b8ecd5 Update async_telebot.py 2021-11-28 00:21:09 +05:00
_run
a9b422783f Middlewares, new file, and examples 2021-11-27 23:41:39 +05:00