Badiboy
67fdb2f52e
Merge pull request #934 from Badiboy/master
...
Minor keyboard update followup
2020-08-03 11:37:09 +03:00
Mr. Dog
c17a2379ba
Exceptions classes redesign followup
2020-08-03 06:39:12 +05:00
Badiboy
cc36207992
Minor keyboard update followup
2020-08-02 18:58:22 +03:00
Badiboy
e987e40ee7
Merge pull request #930 from mrpes/patch-5
...
Minor keyboard code redisign
2020-08-02 18:49:32 +03:00
Mr. Dog
1ba093cb02
Change logger level to warning
2020-08-02 20:30:58 +05:00
Mr. Dog
4e5fb59fc0
Replace exceptions with warnings
...
Also further PIL support added
2020-08-02 20:20:33 +05:00
mrpes
317a490cf0
Type checking moved to utils
2020-08-01 01:30:38 +05:00
mrpes
5823ca5613
Minor keyboard code redesign
2020-08-01 01:28:56 +05:00
Badiboy
9a3f370dce
Merge pull request #929 from mrpes/patch-3
...
Support for sending PIL images in sendPhoto / sendChatPhoto as photo argument.
2020-07-31 11:06:31 +03:00
mrpes
97aa9637cb
Update apihelper.py
2020-07-31 10:45:58 +05:00
mrpes
0ab908705b
Support for PIL images as photo argument
...
Added autoconversion of PIL image to file-like object. PIL module is optional
2020-07-31 10:39:04 +05:00
Badiboy
88e0f1337b
Merge pull request #928 from mrpes/patch-2
...
Exception classes redesign: additional Exception subclasses added
2020-07-31 01:37:32 +03:00
mrpes
67536d4eec
Fixing backward compatibility issue
...
Just realized that renaming ApiException to BaseApiException will cause backward compatibility issue
2020-07-31 03:30:03 +05:00
mrpes
a14424704e
Exception classes redesign
...
Replacing 1 exception class with 3 more specific classes:
HTTP Exception (server returned http code != 200),
Invalid JSON Exception (server returned invalid json),
Telegram Expection (telegram returned ok != true)
All 3 classes extend BaseApiException so we can handle all API exceptions at the same time
2020-07-31 03:10:34 +05:00
Badiboy
b790e4e6ba
Merge pull request #927 from mrpes/patch-1
...
Optional retry on requests error
2020-07-30 11:14:51 +03:00
mrpes
0ac64469b0
Retry on requests error
...
Added RETRY_ON_ERROR var. If its value is true, we'll try to get proper result MAX_RETRIES times, with RETRY_TIMEOUT delay between requests. Last request will be called outside of the try block, so it will throw an exception on failure
P.S.
I'm actually not sure if there are better ways to solve this problem, but this was my way of solving it
2020-07-30 09:34:51 +05:00
Badiboy
ce3c91b619
Merge pull request #919 from Badiboy/master
...
Minor updates in code
2020-07-21 01:27:32 +03:00
Badiboy
dbe9ce49df
Minor updates in code
2020-07-21 01:20:01 +03:00
Badiboy
48e48610f3
Merge pull request #918 from daveusa31/master
...
Documented the default parse_mode installation
2020-07-18 23:01:25 +03:00
Badiboy
d7aaccef63
Merge pull request #917 from EskiSlav/master
...
Added strike and underline entities to parse to html
2020-07-18 21:19:47 +03:00
daveusa31
a02f499a20
Documented the default parse_mode installation
2020-07-18 19:02:07 +03:00
EskiSlav
c533a52e39
Restored necessary comment
2020-07-18 00:25:00 +03:00
EskiSlav
b50eb1bafb
Added nested entities from Bot API 4.5
2020-07-17 13:43:45 +03:00
Badiboy
40e19e5af1
Merge pull request #915 from zeph1997/editreadme
...
Added JoinGroup Silencer Bot into the "Bots using this API" in README
2020-07-16 14:22:45 +03:00
zeph1997
bc5d9c8d69
Update README.md
2020-07-16 19:09:37 +08:00
zeph1997
6049de4356
Update README.md
2020-07-16 19:07:39 +08:00
Badiboy
b38ceaaec8
Merge pull request #913 from Aragroth/master
...
Added ability to specify params of width and height for video
2020-07-11 22:30:53 +03:00
Aragroth
7c94eee3a2
Update apihelper.py
2020-07-11 20:09:48 +03:00
Badiboy
00798df0c0
Merge pull request #909 from iPurya/patch-1
...
Fix Sticker tests
2020-07-07 09:17:01 +03:00
Purya Jafari
d2d7cc39be
Update test_types.py
2020-07-07 03:39:00 +04:30
Badiboy
d74f47e16c
Merge pull request #908 from iPurya/patch-2
...
Added field file_unique_id to Sticker.
2020-07-07 01:31:08 +03:00
Purya Jafari
d5e9f73821
Update test_types.py
...
tests updated for pull request #908 .
2020-07-07 02:38:06 +04:30
Purya Jafari
49398f5c61
Update types.py
...
Sending stickers everytime have different file_id, so for detecting special stickers we need a unique parameter.
2020-07-07 01:31:33 +04:30
eternnoir
f42ec4fe0d
Bump version.
2020-07-06 00:37:17 +08:00
Badiboy
e9f925e14c
Merge pull request #906 from daveusa31/master
...
Added ability to set default parse_mode in main TeleBot class.
2020-07-04 22:29:32 +03:00
daveusa31
0304e6507f
Append default parse_mode
2020-07-04 21:07:42 +03:00
daveusa31
0f387db8d2
Fix tabs
2020-07-04 20:45:48 +03:00
Badiboy
30664f396a
Merge pull request #904 from timbyxty/master
...
Added NST bot to the bot list
2020-07-04 00:17:43 +03:00
Timur Davletshin
cdffeba829
added NST
2020-07-03 22:05:47 +05:00
Aragroth
f4d978cd98
Update apihelper.py
2020-07-02 17:51:34 +03:00
Aragroth
f83f69ed50
Update apihelper.py
2020-07-02 17:50:14 +03:00
Aragroth
a69a358ebd
Update __init__.py
2020-07-02 17:47:38 +03:00
Aragroth
4afde9f557
Update apihelper.py
2020-07-02 17:46:41 +03:00
Badiboy
8e82d1c462
Merge pull request #902 from 0xnu/patch-1
...
Update README.md
2020-07-02 16:08:22 +03:00
Finbarrs
b5a4276282
Update README.md
...
Link to Sports bot added.
2020-07-02 13:27:51 +01:00
Badiboy
d43292e42b
Merge pull request #892 from Otxoto/Otxoto-patch-2
...
Added thumbnail support for send_audio and send_video
2020-06-24 19:10:15 +03:00
Kwisatz Haderach
99de5490a0
Added thumb parameter to send_video
2020-06-23 20:17:21 +02:00
Kwisatz Haderach
53ccef5e5e
added thumb parameter to send_video
2020-06-23 20:14:52 +02:00
Kwisatz Haderach
29b432e65a
Added thumb to send_audio
2020-06-23 20:12:46 +02:00
Kwisatz Haderach
4f4c0891d9
Added thumb support to send_audio
2020-06-23 20:10:12 +02:00