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

1425 Commits

Author SHA1 Message Date
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
438cfe4dbd
Merge pull request #1022 from Badiboy/master
Version 3.7.4 release
2020-11-20 23:50:39 +03:00
Badiboy
640f398262 Version 3.7.4 release 2020-11-20 23:49:55 +03:00
Badiboy
a9db217c64
Merge pull request #1020 from Badiboy/master
added only_if_banned to unban_chat_member
2020-11-20 15:05:41 +03:00
Badiboy
5824d47590 added only_if_banned to unban_chat_member 2020-11-18 02:22:52 +03:00
Badiboy
0da192aec7
Merge pull request #1014 from Badiboy/master
set_webhook bugfinx
2020-11-11 01:02:21 +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
2c15cd0996
Merge pull request #1012 from Badiboy/master
Long polling timeouts update
2020-11-07 16:51:10 +03:00
Badiboy
00d125a298 long_polling_timeout update 3 2020-11-07 14:59:45 +03:00
Badiboy
a548374a4d long_polling_timeout update 2 2020-11-07 14:43:17 +03:00
Badiboy
03e1aef70e long_polling_timeout update 1 2020-11-07 14:02:11 +03:00
Badiboy
ece7ca97e0
Merge pull request #1011 from Badiboy/master
Long polling updates and combo content types
2020-11-07 13:02:22 +03:00
Badiboy
7a3fd30f6a Long polling updates and combo content types 2020-11-07 12:52:51 +03:00
Badiboy
1d99cc224f
Merge pull request #1005 from Badiboy/master
Animation content_type
2020-11-03 23:26:53 +03:00
Badiboy
fa3ca84d24 Animation content_type
"When you send gif telegram gives you animation and document at same time in update and when you parse that first if is animation and second is document because of this the content_type set document not animation"
2020-11-03 17:46:19 +03:00
Badiboy
42e6d84f13
Merge pull request #1004 from diegop384/patch-1
Update README.md
2020-11-03 17:36:04 +03:00
diegop384
27461c03af
Update README.md
I added my bot
2020-11-03 09:28:31 -05:00
Badiboy
3be51390b1
Merge pull request #997 from Mrsqd/patch-1
Added Frcstbot description
2020-10-30 00:42:04 +03:00
Mrsqd
afa88304d7
Added Frcstbot
I've made a weather forecast bot using your API. Can you approve my request to add it, please?
2020-10-29 02:09:47 +03:00
Badiboy
82e79b6ac6
Merge pull request #995 from pinguluk/patch-1
Update README.md
2020-10-28 14:16:03 +03:00
Pinguluk
746c71665e
Update README.md
linked example/webhook_examples to the directory
2020-10-28 12:31:57 +02:00
Badiboy
37c09406d0
Merge pull request #989 from andvch/patch-1
Fix broken text_mention html formatting
2020-10-15 11:57:38 +03:00
andvch
36a3ce62c4
Fix broken text_mention html formatting 2020-10-14 12:06:49 +03:00
Badiboy
6dc8173176
Merge pull request #977 from Badiboy/master
Previous commit bugfix
2020-09-22 01:46:51 +03:00
Badiboy
00c2e9b51c Piece death fix 2020-09-22 01:41:51 +03:00
Badiboy
29711e2425 Merge remote-tracking branch 'upstream/master' 2020-09-22 01:34:55 +03:00
Badiboy
75a5dd1492 Minor bugfix 2020-09-22 01:34:49 +03:00
FrankWang
3ae145f206
Update README.md 2020-09-10 16:22:50 +08:00
Badiboy
5fda52cf5d
Merge pull request #970 from meoww-bot/master
UPG: Added the field reply_markup to the Message object
2020-09-07 13:09:46 +03:00
meoww-bot
9ab906e60c
fix: simplify code
json.loads(button.to_json()) equals to button.to_dict()
2020-09-02 18:09:14 +08:00
meoww-bot
698b4371e6
test: Add tests for InlineKeyboardMarkup and ...
Add tests for InlineKeyboardMarkup and InlineKeyboardButton
2020-09-02 10:33:32 +08:00
meoww-bot
a803edd09b
fix: button in markup should be obj, not json text 2020-09-02 09:25:23 +08:00
meoww-bot
32a9e65ecc
fix: reply_markup does not change content_type 2020-09-02 09:12:49 +08:00
meoww-bot
decad450d0
feat: make InlineKeyboardMarkup JsonDeserializable
feat: make InlineKeyboardMarkup JsonDeserializable, add de_json func to InlineKeyboardMarkup object
2020-09-01 18:13:22 +08:00
meoww-bot
630a9a5b2c
feat: make InlineKeyboardButton JsonDeserializable
feat: make InlineKeyboardButton JsonDeserializable, add de_json func to InlineKeyboardButton Object
2020-09-01 18:07:45 +08:00
meoww-bot
cdae65116b
feat: make LoginUrl JsonDeserializable
feat: make LoginUrl JsonDeserializable, add de_json func
2020-09-01 18:03:21 +08:00
meoww-bot
6832c33733 feat: Added the field reply_markup to the Message
Added the field `reply_markup` to the Message object
2020-08-31 12:00:56 +00:00
Badiboy
d15cb16bef
Merge pull request #969 from ArtemFrantsiian/patch-1
Fix an error with the is_pil_image function
2020-08-29 22:04:36 +03:00
Artem Frantsiian
81100f249c
Fix an error with the is_pil_image function
When I've tried to send_photo as shown in detailed_example, I got an error: "AttributeError: module 'PIL' has no attribute 'Image'". 
This error was described well here: https://stackoverflow.com/a/11911536/9092263. So in accordance to prescriptions, I've made changes and It works fine for me.

Steps to reproduce:
1. initiate bot via TeleBot constructor
2. call function bot.send_photo(call.message.chat.id, open("some_image.jpg", "rb"))

P.S.
Error Environment: 
- python==3.8.5
- pyTelegramBotAPI==3.7.3
- PIL==7.2.0
2020-08-29 21:57:41 +03:00
Badiboy
79ff9191f3
Merge pull request #967 from meoww-bot/patch-1
Added the field `file_unique_id` (Bot API 4.5)
2020-08-29 11:18:00 +03:00
meoww-bot
bdfb793e34
test: Added file_unique_id from Bot API 4.5 2020-08-29 12:07:38 +08:00
meoww-bot
e811163b5f
UPG: Added the field file_unique_id
Added the field file_unique_id to the objects Animation, Audio, Document, PassportFile, PhotoSize, Sticker, Video, VideoNote, Voice, File and the fields small_file_unique_id and big_file_unique_id to the object ChatPhoto. (Bot API 4.5)
2020-08-29 04:29:02 +08:00
Badiboy
1eb9651894
Merge pull request #963 from Badiboy/master
Minor readme update
2020-08-26 00:53:12 +03:00
Badiboy
309e55845c Minor readme update 2020-08-26 00:51:55 +03:00
Badiboy
2bc5c1a500
Merge pull request #960 from CrafterKolyan/patch-1
Add last_update_id parameter for constructor
2020-08-25 21:58:33 +03:00
Badiboy
7acad2d825
Merge pull request #958 from Badiboy/master
Bot API support checked/updated up to 4.2
2020-08-25 21:49:40 +03:00
Nikolay Korolev
5120650774
Move parameter to the end of list 2020-08-25 21:45:30 +03:00
Nikolay Korolev
c13f9a7f98
Add last_update_id parameter for constructor 2020-08-25 21:26:28 +03:00
Badiboy
bab9b4077d Bot API support checked/updated up to 4.2 2020-08-25 18:18:51 +03:00
Badiboy
47b9c1d3fb
Merge pull request #957 from Badiboy/master
Empty list optimization, Py2 arteacts removed
2020-08-25 16:46:28 +03:00