Module areixio.utils.notification

Classes

class NotificationSender (email_config=None, sms_config=None, discord_config=None, telegram_config=None, wechat_config=None, firebase_config=None)

Methods

def send_discord(self, message: str)
def send_email(self, subject: str, body: str, recipient: List[str])
def send_firebase(self, message: str, topic: str = None, is_ola: bool = False)
def send_qywechat(self, message: str)
def send_sms(self, message: str, recipient)
def send_telegram(self, message: str)
def send_wechat_message(access_token: str, touser: str, message: str)