Badiboy
17f48916ad
Merge remote-tracking branch 'upstream/master'
2020-08-21 17:40:56 +03:00
Badiboy
5b70980bda
Resolve conflicts
2020-08-21 17:38:54 +03:00
Badiboy
73487f96c4
Custom exception handler for poll mode
...
Initial beta of custom exception handler for poll mode.
Use ExceptionHandler class and bot.exception_handler to proceed unhandled exceptions in poll mode.
2020-08-21 17:36:08 +03:00
Badiboy
818905de32
Merge pull request #954 from rfoxxxy/master
...
Added missing thumb parameters to send_document, send_animation and send_video_note
Implemented getting the runtime version of pyTelegramBotAPI
Fixed docstring for send_video_note function
2020-08-21 17:33:22 +03:00
rf0x1d
cab33ad0d9
fixed thumb processing
2020-08-21 14:09:38 +03:00
rf0x1d
9ca3c78c84
back version to 3.7.2
2020-08-21 11:22:24 +03:00
rf0x1d
0ab4046a4f
Create version.py
2020-08-21 11:09:53 +03:00
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