9 lines
271 B
Python
9 lines
271 B
Python
from abc import ABC, abstractmethod
|
|
from telegram import Update
|
|
from telegram.ext import CallbackContext
|
|
from ..editor.states import BotStates
|
|
|
|
class State(ABC):
|
|
@abstractmethod
|
|
async def handle(self, update: Update, context: CallbackContext) -> int:
|
|
pass |