osnova-api-alert/schemas/tg_send.py

13 lines
205 B
Python

from pydantic import BaseModel
class TelegramMessageToDashboard(BaseModel):
text: str
problem_id: int
subject: str
class TelegramMessageToNetwork(BaseModel):
text: str
subject: str