mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Possibility to use alternative serializer
With apihelper.CUSTOM_SERIALIZER you can replace pickle with other "dumper" like dill.
This commit is contained in:
@ -18,6 +18,7 @@ from telebot import types
|
||||
from telebot import util
|
||||
|
||||
logger = telebot.logger
|
||||
|
||||
proxy = None
|
||||
|
||||
API_URL = None
|
||||
@ -26,6 +27,8 @@ FILE_URL = None
|
||||
CONNECT_TIMEOUT = 3.5
|
||||
READ_TIMEOUT = 9999
|
||||
|
||||
CUSTOM_SERIALIZER = None
|
||||
|
||||
ENABLE_MIDDLEWARE = False
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user