rf0x1d
8b50dc488b
added missing thumb params and more
2020-08-21 11:09:43 +03:00
Badiboy
83df269730
Merge pull request #953 from Badiboy/master
...
Two None checks
2020-08-20 00:00:57 +03:00
Badiboy
18eb8eb605
Two None checks
2020-08-19 23:57:48 +03:00
Badiboy
19aaf83d88
Merge pull request #950 from BLUE-DEVIL1134/master
...
Update README.md
2020-08-17 11:48:59 +03:00
Akash
3b57c288b4
Update README.md
2020-08-17 14:08:20 +05:30
FrankWang
8f1c34db76
Merge pull request #947 from BLUE-DEVIL1134/master
...
Update README.md
2020-08-14 22:07:47 +08:00
Akash
2aaff09c39
Update README.md
2020-08-14 11:38:57 +05:30
Akash
1cd36253f0
Update README.md
2020-08-14 11:36:04 +05:30
Akash
484c3a4c48
Update README.md
2020-08-14 10:50:56 +05:30
Badiboy
5347a068e0
Merge pull request #944 from barbax7/patch-1
...
Update README.md
2020-08-13 18:25:23 +03:00
Andrea Barbagallo
52511fce48
Update README.md
...
Added my bot to the list.
2020-08-13 12:14:57 +02:00
Badiboy
507d524215
Merge pull request #939 from mrpes/patch-6
...
Keyboard bugfix
2020-08-04 22:03:00 +03:00
Mr. Dog
ec79d1dc1e
Keyboard bugfix
2020-08-04 23:45:33 +05:00
Badiboy
31e40d155b
Merge pull request #938 from Badiboy/master
...
CopyPaste bugfix
2020-08-04 18:29:31 +03:00
Badiboy
c6f51f6c55
CopyPaste bugfix
2020-08-04 18:28:35 +03:00
Badiboy
dc07cacc7f
Merge pull request #935 from mrpes/patch-4
...
Exceptions classes redesign followup
2020-08-04 18:25:31 +03:00
Mr. Dog
ce6a21cd09
Merge branch 'master' into patch-4
2020-08-04 19:49:55 +05:00
Badiboy
58c4010155
Merge pull request #937 from Badiboy/master
...
Bugfix and DISABLE_KEYLEN_ERROR
2020-08-04 12:40:32 +03:00
Badiboy
a5fd407eb6
Bugfix and DISABLE_KEYLEN_ERROR
...
Bugfix and DISABLE_KEYLEN_ERROR to supress keyboard length errors.
2020-08-04 12:29:56 +03:00
Mr. Dog
1bb98483c2
Update apihelper.py
2020-08-04 05:34:13 +05:00
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