# app/src/notifications/models.py

from __future__ import annotations

from dataclasses import dataclass


@dataclass(slots=True)
class NotificationMessage:
    title: str
    text: str
    priority: str = "normal"
    parse_mode: str = "HTML"
    dedupe_key: str | None = None