|
12345678910111213141516171819 |
- from pydantic import BaseModel
-
-
- class User(BaseModel):
- session_id: str
- auth_date: int
- username: str
- first_name: str
- last_name: str
- photo_url: str
-
-
- class AuthenticationRequest(BaseModel):
- id: int
- auth_date: int
- username: str
- first_name: str
- last_name: str
- photo_url: str
|