11 lines
156 B
Python
11 lines
156 B
Python
|
from pydantic import BaseModel
|
||
|
|
||
|
|
||
|
class CreateChatRequest(BaseModel):
|
||
|
name: str
|
||
|
|
||
|
|
||
|
class SendMessageRequest(BaseModel):
|
||
|
chat_id: int
|
||
|
content: str
|