mp_message/core/models/message/requests.py

11 lines
156 B
Python
Raw Normal View History

from pydantic import BaseModel
class CreateChatRequest(BaseModel):
name: str
class SendMessageRequest(BaseModel):
chat_id: int
content: str