Load reply handlers from save file This function is left to keep backward compatibility whose purpose was to load handlers from file with the help of FileHandlerBackend and is only recommended to use if reply_backend was assigned as FileHandlerBackend before enterin
(self, filename="./.handler-saves/reply.save", del_file_after_loading=True)
| 400 | |
| 401 | |
| 402 | def load_reply_handlers(self, filename="./.handler-saves/reply.save", del_file_after_loading=True): |
| 403 | """ |
| 404 | Load reply handlers from save file |
| 405 | |
| 406 | This function is left to keep backward compatibility whose purpose was to load handlers from file with the |
| 407 | help of FileHandlerBackend and is only recommended to use if reply_backend was assigned as |
| 408 | FileHandlerBackend before entering this function |
| 409 | |
| 410 | :param filename: Filename of the file where handlers was saved, defaults to "./.handler-saves/reply.save" |
| 411 | :type filename: :obj:`str`, optional |
| 412 | |
| 413 | :param del_file_after_loading: If True is passed, after the loading file will be deleted, defaults to True, defaults to True |
| 414 | :type del_file_after_loading: :obj:`bool`, optional |
| 415 | """ |
| 416 | self.reply_backend.load_handlers(filename, del_file_after_loading) |
| 417 | |
| 418 | |
| 419 | def set_webhook(self, url: Optional[str]=None, certificate: Optional[Union[str, Any]]=None, max_connections: Optional[int]=None, |
nothing calls this directly
no test coverage detected