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

210 Commits

Author SHA1 Message Date
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
Badiboy
ec8714ad3a Short live sessions u1 2021-01-17 00:43:52 +03:00
Badiboy
bc54a5379c Added short live sessions 2021-01-16 23:50:25 +03:00
Badiboy
e9ba2fd8bb Polling timeout fix 2021-01-16 02:14:29 +03:00
Badiboy
f56da17741 Fix restrict_chat_member until_date bug 2021-01-14 15:45:47 +03:00
Badiboy
82838e1d26 Infinity polling fall down fixed 2021-01-14 03:44:37 +03:00
Alireza
b684c4f60d Fix Things on copyMessage 2021-01-12 11:17:53 +03:30
Alireza
58281f0a10 Added copyMessage method 2021-01-11 02:50:17 +03:30
Badiboy
52ebb5a1a7 drop_pending_updates in set_webhook 2021-01-09 21:22:49 +03:00
Badiboy
5dc008a762 Added timeout to xxx_webhook 2021-01-07 00:13:44 +03:00
Badiboy
6559f431b7 Bot API update
Bot API conformance up to 4.4

Added webhook parameters from 5.0
2020-12-29 19:24:41 +03:00
Mikhail Krostelev
96686e5221 fix restrict_chat_member method 2020-12-22 21:38:38 +03:00
Badiboy
6cc80f25d7 Bot API 5.0 pinning-unpinning logic post-fix. 2020-11-29 15:33:39 +03:00
Alexander
00c9351f83 Hotfix 0a2216a22b
* message_id made optional as API declares
2020-11-29 15:12:14 +03:00
Alexander
0a2216a22b Bot API 5.0 pinning-unpinning logic update
+ add unpin_all_chat_messages() (former unpin_chat_message())
* update unpin_chat_message() (add message_id arg)
2020-11-29 14:47:53 +03:00
Badiboy
5824d47590 added only_if_banned to unban_chat_member 2020-11-18 02:22:52 +03:00
Badiboy
bd27645965 set_webhook bugfinx
set_webhook does not reset allowed_updates for empty list (to default)
2020-11-11 00:32:34 +03:00
Badiboy
03e1aef70e long_polling_timeout update 1 2020-11-07 14:02:11 +03:00
Badiboy
7a3fd30f6a Long polling updates and combo content types 2020-11-07 12:52:51 +03:00
Badiboy
bab9b4077d Bot API support checked/updated up to 4.2 2020-08-25 18:18:51 +03:00
Badiboy
513a85cad9 Merge remote-tracking branch 'upstream/master' 2020-08-24 13:00:30 +03:00
Florent Gallaire
5e19965b0c Fix 'NoneType' object assignment error from #892 and #954 2020-08-22 16:11:52 +02:00
Badiboy
17f48916ad Merge remote-tracking branch 'upstream/master' 2020-08-21 17:40:56 +03:00
Badiboy
73487f96c4 Custom exception handler for poll mode
Initial beta of custom exception handler for poll mode.

Use ExceptionHandler class and bot.exception_handler to proceed unhandled exceptions in poll mode.
2020-08-21 17:36:08 +03:00
rf0x1d
cab33ad0d9 fixed thumb processing 2020-08-21 14:09:38 +03:00
rf0x1d
8b50dc488b added missing thumb params and more 2020-08-21 11:09:43 +03:00
Mr. Dog
ce6a21cd09
Merge branch 'master' into patch-4 2020-08-04 19:49:55 +05:00