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

Handlers and Middlewares processing union

Call for handlers now union in a single function for future extension.

Plus minor fixes in storages.
This commit is contained in:
Badiboy
2022-09-17 11:57:12 +03:00
parent 8d9dfcfac8
commit da639dd1f6
6 changed files with 106 additions and 93 deletions

View File

@ -41,7 +41,10 @@ class StateStorageBase:
def get_state(self, chat_id, user_id):
raise NotImplementedError
def get_interactive_data(self, chat_id, user_id):
raise NotImplementedError
def save(self, chat_id, user_id, data):
raise NotImplementedError