Rework add_user rout

This commit is contained in:
IgorVolochay
2025-02-17 14:54:10 +03:00
parent 8c4b061e6a
commit a1585bd5a0
2 changed files with 14 additions and 6 deletions
+8
View File
@@ -6,3 +6,11 @@ from pydantic import BaseModel
class BaseResponse(BaseModel):
result: typing.Any
error: bool = False
class AddUserBody(BaseModel):
user_id: int
username: str
first_name: str
last_name: str
photo_url: str