11 lines
236 B
Python
11 lines
236 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class NotificationProvider(ABC):
|
|
@abstractmethod
|
|
async def send(self, title: str, content: str) -> bool:
|
|
pass
|
|
|
|
@abstractmethod
|
|
def validate_config(self) -> bool:
|
|
pass |