zbx-tg-dashboard/schemas/from_zabbix.py

12 lines
213 B
Python
Executable File

from pydantic import BaseModel
from typing import Optional
class MessageToDashboard(BaseModel):
message: str
event_id: int
event_value: int
tg_tread_id: int
tg_chat_id: int
tg_token: str