from pydantic import BaseModel class Message(BaseModel): text: str sender_id: int receiver_id: int