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

Remove Type Hinting

This commit is contained in:
bedilbek 2020-04-27 23:43:39 +05:00
parent d0edf44774
commit bcc3a1afb4

View File

@ -205,7 +205,6 @@ class TeleBot:
:param filename: Filename of the file where handlers was saved :param filename: Filename of the file where handlers was saved
:param del_file_after_loading: Is passed True, after loading save file will be deleted :param del_file_after_loading: Is passed True, after loading save file will be deleted
""" """
self.next_step_backend: FileHandlerBackend
self.next_step_backend.load_handlers(filename, del_file_after_loading) self.next_step_backend.load_handlers(filename, del_file_after_loading)
def load_reply_handlers(self, filename="./.handler-saves/reply.save", del_file_after_loading=True): def load_reply_handlers(self, filename="./.handler-saves/reply.save", del_file_after_loading=True):
@ -221,7 +220,6 @@ class TeleBot:
:param filename: Filename of the file where handlers was saved :param filename: Filename of the file where handlers was saved
:param del_file_after_loading: Is passed True, after loading save file will be deleted :param del_file_after_loading: Is passed True, after loading save file will be deleted
""" """
self.reply_backend: FileHandlerBackend
self.reply_backend.load_handlers(filename, del_file_after_loading) self.reply_backend.load_handlers(filename, del_file_after_loading)
def set_webhook(self, url=None, certificate=None, max_connections=None, allowed_updates=None): def set_webhook(self, url=None, certificate=None, max_connections=None, allowed_updates=None):