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

1515 Commits

Author SHA1 Message Date
03e1aef70e long_polling_timeout update 1 2020-11-07 14:02:11 +03:00
ece7ca97e0 Merge pull request #1011 from Badiboy/master
Long polling updates and combo content types
2020-11-07 13:02:22 +03:00
7a3fd30f6a Long polling updates and combo content types 2020-11-07 12:52:51 +03:00
1d99cc224f Merge pull request #1005 from Badiboy/master
Animation content_type
2020-11-03 23:26:53 +03:00
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
42e6d84f13 Merge pull request #1004 from diegop384/patch-1
Update README.md
2020-11-03 17:36:04 +03:00
27461c03af Update README.md
I added my bot
2020-11-03 09:28:31 -05:00
3be51390b1 Merge pull request #997 from Mrsqd/patch-1
Added Frcstbot description
2020-10-30 00:42:04 +03:00
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
82e79b6ac6 Merge pull request #995 from pinguluk/patch-1
Update README.md
2020-10-28 14:16:03 +03:00
746c71665e Update README.md
linked example/webhook_examples to the directory
2020-10-28 12:31:57 +02:00
37c09406d0 Merge pull request #989 from andvch/patch-1
Fix broken text_mention html formatting
2020-10-15 11:57:38 +03:00
36a3ce62c4 Fix broken text_mention html formatting 2020-10-14 12:06:49 +03:00
6dc8173176 Merge pull request #977 from Badiboy/master
Previous commit bugfix
2020-09-22 01:46:51 +03:00
00c2e9b51c Piece death fix 2020-09-22 01:41:51 +03:00
29711e2425 Merge remote-tracking branch 'upstream/master' 2020-09-22 01:34:55 +03:00
75a5dd1492 Minor bugfix 2020-09-22 01:34:49 +03:00
3ae145f206 Update README.md 2020-09-10 16:22:50 +08:00
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
9ab906e60c fix: simplify code
json.loads(button.to_json()) equals to button.to_dict()
2020-09-02 18:09:14 +08:00
698b4371e6 test: Add tests for InlineKeyboardMarkup and ...
Add tests for InlineKeyboardMarkup and InlineKeyboardButton
2020-09-02 10:33:32 +08:00
a803edd09b fix: button in markup should be obj, not json text 2020-09-02 09:25:23 +08:00
32a9e65ecc fix: reply_markup does not change content_type 2020-09-02 09:12:49 +08:00
decad450d0 feat: make InlineKeyboardMarkup JsonDeserializable
feat: make InlineKeyboardMarkup JsonDeserializable, add de_json func to InlineKeyboardMarkup object
2020-09-01 18:13:22 +08:00
630a9a5b2c feat: make InlineKeyboardButton JsonDeserializable
feat: make InlineKeyboardButton JsonDeserializable, add de_json func to InlineKeyboardButton Object
2020-09-01 18:07:45 +08:00
cdae65116b feat: make LoginUrl JsonDeserializable
feat: make LoginUrl JsonDeserializable, add de_json func
2020-09-01 18:03:21 +08:00
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
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
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
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
bdfb793e34 test: Added file_unique_id from Bot API 4.5 2020-08-29 12:07:38 +08:00
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
1eb9651894 Merge pull request #963 from Badiboy/master
Minor readme update
2020-08-26 00:53:12 +03:00
309e55845c Minor readme update 2020-08-26 00:51:55 +03:00
2bc5c1a500 Merge pull request #960 from CrafterKolyan/patch-1
Add last_update_id parameter for constructor
2020-08-25 21:58:33 +03:00
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
5120650774 Move parameter to the end of list 2020-08-25 21:45:30 +03:00
c13f9a7f98 Add last_update_id parameter for constructor 2020-08-25 21:26:28 +03:00
bab9b4077d Bot API support checked/updated up to 4.2 2020-08-25 18:18:51 +03:00
47b9c1d3fb Merge pull request #957 from Badiboy/master
Empty list optimization, Py2 arteacts removed
2020-08-25 16:46:28 +03:00
06ed637f2f Merge remote-tracking branch 'upstream/master' 2020-08-25 16:24:07 +03:00
7bf432170e Merge pull request #956 from Pablo-Davila/master
Append bots to list
2020-08-25 16:23:52 +03:00
8cd18945c5 Append bots to list
TasksListsBot
MyElizaPsychologistBot
2020-08-25 15:45:08 +02:00
48b53f6a8e Update version.X 3.7.3 2020-08-24 21:36:27 +08:00
cdd48c7aed Empty list optimization, Py2 arteacts removed,
Empty list optimization: None instead of [].

Py2 arteacts removed: no more six moudle used.
2020-08-24 16:02:35 +03:00
513a85cad9 Merge remote-tracking branch 'upstream/master' 2020-08-24 13:00:30 +03:00
c1c84a588d Merge pull request #955 from fgallaire/master
Fix 'NoneType' object assignment error from #892 and #954
2020-08-22 18:32:25 +03:00
5e19965b0c Fix 'NoneType' object assignment error from #892 and #954 2020-08-22 16:11:52 +02:00
17f48916ad Merge remote-tracking branch 'upstream/master' 2020-08-21 17:40:56 +03:00
5b70980bda Resolve conflicts 2020-08-21 17:38:54 +03:00