from pydantic import BaseModel, Field from graph_service.dto.common import Message class AddMessagesRequest(BaseModel): group_id: str = Field(..., description='The group id of the messages to add') messages: list[Message] = Field(..., description='The messages to add')