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

1259 Commits

Author SHA1 Message Date
83df269730 Merge pull request #953 from Badiboy/master
Two None checks
2020-08-20 00:00:57 +03:00
18eb8eb605 Two None checks 2020-08-19 23:57:48 +03:00
19aaf83d88 Merge pull request #950 from BLUE-DEVIL1134/master
Update README.md
2020-08-17 11:48:59 +03:00
3b57c288b4 Update README.md 2020-08-17 14:08:20 +05:30
8f1c34db76 Merge pull request #947 from BLUE-DEVIL1134/master
Update README.md
2020-08-14 22:07:47 +08:00
2aaff09c39 Update README.md 2020-08-14 11:38:57 +05:30
1cd36253f0 Update README.md 2020-08-14 11:36:04 +05:30
484c3a4c48 Update README.md 2020-08-14 10:50:56 +05:30
5347a068e0 Merge pull request #944 from barbax7/patch-1
Update README.md
2020-08-13 18:25:23 +03:00
52511fce48 Update README.md
Added my bot to the list.
2020-08-13 12:14:57 +02:00
507d524215 Merge pull request #939 from mrpes/patch-6
Keyboard bugfix
2020-08-04 22:03:00 +03:00
ec79d1dc1e Keyboard bugfix 2020-08-04 23:45:33 +05:00
31e40d155b Merge pull request #938 from Badiboy/master
CopyPaste bugfix
2020-08-04 18:29:31 +03:00
c6f51f6c55 CopyPaste bugfix 2020-08-04 18:28:35 +03:00
dc07cacc7f Merge pull request #935 from mrpes/patch-4
Exceptions classes redesign followup
2020-08-04 18:25:31 +03:00
ce6a21cd09 Merge branch 'master' into patch-4 2020-08-04 19:49:55 +05:00
58c4010155 Merge pull request #937 from Badiboy/master
Bugfix and DISABLE_KEYLEN_ERROR
2020-08-04 12:40:32 +03:00
a5fd407eb6 Bugfix and DISABLE_KEYLEN_ERROR
Bugfix and DISABLE_KEYLEN_ERROR to supress keyboard length errors.
2020-08-04 12:29:56 +03:00
1bb98483c2 Update apihelper.py 2020-08-04 05:34:13 +05:00
67fdb2f52e Merge pull request #934 from Badiboy/master
Minor keyboard update followup
2020-08-03 11:37:09 +03:00
c17a2379ba Exceptions classes redesign followup 2020-08-03 06:39:12 +05:00
cc36207992 Minor keyboard update followup 2020-08-02 18:58:22 +03:00
e987e40ee7 Merge pull request #930 from mrpes/patch-5
Minor keyboard code redisign
2020-08-02 18:49:32 +03:00
1ba093cb02 Change logger level to warning 2020-08-02 20:30:58 +05:00
4e5fb59fc0 Replace exceptions with warnings
Also further PIL support added
2020-08-02 20:20:33 +05:00
317a490cf0 Type checking moved to utils 2020-08-01 01:30:38 +05:00
5823ca5613 Minor keyboard code redesign 2020-08-01 01:28:56 +05:00
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
97aa9637cb Update apihelper.py 2020-07-31 10:45:58 +05:00
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
88e0f1337b Merge pull request #928 from mrpes/patch-2
Exception classes redesign: additional Exception subclasses added
2020-07-31 01:37:32 +03:00
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
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
b790e4e6ba Merge pull request #927 from mrpes/patch-1
Optional retry on requests error
2020-07-30 11:14:51 +03:00
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
ce3c91b619 Merge pull request #919 from Badiboy/master
Minor updates in code
2020-07-21 01:27:32 +03:00
dbe9ce49df Minor updates in code 2020-07-21 01:20:01 +03:00
48e48610f3 Merge pull request #918 from daveusa31/master
Documented the default parse_mode installation
2020-07-18 23:01:25 +03:00
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
a02f499a20 Documented the default parse_mode installation 2020-07-18 19:02:07 +03:00
c533a52e39 Restored necessary comment 2020-07-18 00:25:00 +03:00
b50eb1bafb Added nested entities from Bot API 4.5 2020-07-17 13:43:45 +03:00
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
bc5d9c8d69 Update README.md 2020-07-16 19:09:37 +08:00
6049de4356 Update README.md 2020-07-16 19:07:39 +08:00
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
7c94eee3a2 Update apihelper.py 2020-07-11 20:09:48 +03:00
00798df0c0 Merge pull request #909 from iPurya/patch-1
Fix Sticker tests
2020-07-07 09:17:01 +03:00
d2d7cc39be Update test_types.py 2020-07-07 03:39:00 +04:30
d74f47e16c Merge pull request #908 from iPurya/patch-2
Added field file_unique_id to Sticker.
2020-07-07 01:31:08 +03:00