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

236 Commits

Author SHA1 Message Date
coder2020official
7f9dac4147 Fix previous commit 2022-06-23 12:46:27 +05:00
coder2020official
1342cab259 Fix boolean parameters 2022-06-23 12:05:26 +05:00
coder2020official
0d0f9ef330 Added secret token and create_invoice_link 2022-06-21 15:20:55 +05:00
Badiboy
b43b636ba0 Bugfix in answer_web_app_query 2022-04-24 11:33:19 +03:00
Badiboy
dd25432359 Bot API 6.0. Deprecation fixes 2022-04-23 15:03:54 +03:00
coder2020official
a1bf961fd2 Bump Bot API 6.0(Beta) 2022-04-17 16:39:09 +05:00
_run
71be20636a Bot API 5.7 2022-02-01 17:43:49 +04:00
_run
4e7652be7a Bot API 5.7 2022-02-01 14:47:42 +04: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
d334f5cb8d Added protect_content parameter. Remade some methods. 2021-12-31 15:05:40 +04: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
Badiboy
9b99bb5f21 Update readme and typo 2021-11-08 18:51:42 +03:00
Badiboy
7f1497c5e9 Merge remote-tracking branch 'upstream/master' 2021-11-08 18:32:38 +03:00
Badiboy
5ac71baafe RETRY_ENGINE
Added RETRY_ENGINE var to api_helper.

Added RETRY_ENGINE = 2 based on native "requests" retry mechanism.
2021-11-07 23:02:23 +03:00
_run
becce1f580 Update apihelper.py 2021-11-06 19:51:05 +05:00
_run
953e2286b8 Bot API 5.4 2021-11-06 12:15:28 +05:00
_run
06c8782127 Little update
Allowed other handlers, checked methods and other things
2021-11-05 23:22:03 +05:00
Badiboy
2623fa362c
Merge pull request #1350 from Badiboy/master
Custom request sender
2021-11-03 18:50:25 +03:00
Badiboy
4a274ba440 Custom request sender
Added apihelper.CUSTOM_REQUEST_SENDER option. It allows to substitute requests.request to your own function.
2021-11-03 18:48:46 +03:00
Andrea Barbagallo
5fb48e68a0 Added description of the ApiTelegramException as attribute of the class 2021-10-16 17:45:15 +02:00
Badiboy
f70b135359 Filter clearance
1. Filter optimization: should not store empty filters
2. Filter order: chat_type, content, others
3. Default session timeout set to 600 instead of "forever".
4. Type
2021-09-11 17:02:40 +03:00
Badiboy
bd3a9bc350 chat_invite_link bugfix 2021-08-22 22:16:03 +03:00
Badiboy
2bc052ad5a Check and update for full compatibility to Bot API up to 5.3
Pre-release of 4.0.0
2021-08-18 23:27:28 +03:00
Badiboy
8053183cb5 API update fix 02 2021-08-18 19:36:48 +03:00
Badiboy
d6501ddc0e Check and update for full compatibility to Bot API up to 5.0 2021-08-18 18:47:38 +03:00
coder2020official
81adfd335e UPD 2021-07-30 19:15:37 +05:00
coder2020official
9c1b19a9e4 upd 2021-07-28 23:06:31 +05:00
Badiboy
29c98b0230 Invoice tips typo fix 2021-07-15 09:27:07 +03:00
Vladislav Nahorniy
fa80b1dba0 Added tip for invoice 2021-07-15 08:56:04 +03:00
Badiboy
2578e48134 Timeouts in making requests are rethought 2021-07-09 10:42:56 +03:00
Badiboy
a4e73a05c6 Update file_name to visible_file_name in send_document 2021-06-29 13:30:01 +03:00
Badiboy
30e304ffb5
Merge pull request #1204 from floydya/file-name-patch
Allows to set visible document file_name on send.
2021-06-29 13:27:44 +03:00
SwissCorePy
0b383498eb addded logger info for deprecated funcs 2021-06-28 11:59:21 +02:00
SwissCorePy
0aa7a8a8f6 new 5.3 function names
added the new function names (the previous names are still working) from 5.3 and some other small changes
2021-06-28 09:31:06 +02:00
Vlad Galatskiy
38c4c21030
Add file_name argument to send_data method 2021-06-27 11:37:27 +03:00
MAIKS1900
3e33b7f1cb Bot API 5.3 changes
- Personalized Commands for different chats
- Custom Placeholders of input field for ReplyKeyboardMarkup and ForceReply.
2021-06-26 14:36:14 +03:00
SwissCorePy
bffbe764e5 Update tgs_sticker support
* Updated `create_new_sticker_set` and `add_sticker_to_set` functions
* Removed `create_new_animated_sticker_set` and `add_sticker_to_animated_sticker_set` functions
2021-06-22 15:57:34 +02:00
SwissCorePy
3f46ce3b7b added InputInvoiceMessageContent and tgs_sticker support
and some small changes
2021-06-21 19:59:39 +02:00
SwissCorePy
7118613ef7 Added missing features
* added some missing features of TelegramBotAPI 4.6-5.2 to pyTelegramBotAPI
* added type hints to (almost) all public TeleBot functions
2021-06-21 17:39:13 +02:00
Badiboy
ab6d40a072
Merge pull request #1193 from Badiboy/master
Raise exception if no token passed
2021-06-19 15:10:32 +03:00
Badiboy
d26923e167 Raise exception if no token passed 2021-06-19 15:09:52 +03:00
SwissCorePy
bbafdd1c1d Some Updates
> Added lot of type hints to types.py
> Added some new fields from TelegramBotAPI to pyTelegramBotAPI
> fixed `circular import error in util.py
> Added functions `log_out` and `close` to __init__.py and apihelper.py
> And some more small changes
2021-06-17 20:28:53 +02:00
Yaroslav Vorobev
ff54f194ad Added: create_chat_invite_link, edit_chat_invite_link, revoke_chat_invite_link methods 2021-05-19 11:22:40 +03:00
Badiboy
7540a26fb9 send_poll fix of fix
Previous update was inconsistent, sorry.
2021-05-15 20:08:51 +03:00
Badiboy
53c98328c1 send_poll fix with PollOptions
Now send_poll correctly operates with PollOptions passed as array of PollOption.
2021-05-12 00:26:33 +03:00
Badiboy
fdf2838669 Minor update to copyMessage 2021-01-19 01:27:39 +03:00
Badiboy
74fb8258b6
Merge pull request #1067 from Aazerra/copyMessage_method
Added copyMessage method
2021-01-19 01:16:09 +03:00
Robin Modisch
3109e35bb4
show bot id 2021-01-17 01:26:38 +01:00
Robin Modisch
ea51b1e95e
hide token from debug logs
prevent leaks of the bot token by hiding it from the log
2021-01-17 01:06:47 +01:00