yashmakan's picture
join video call added
ce91cb5
raw
history blame contribute delete
585 Bytes
from pydantic import BaseModel, Field
class UpdateLocationRequest(BaseModel):
lat: float = Field(..., description="Latitude")
long: float = Field(..., description="Longitude")
class AddRequestRequest(BaseModel):
query: str = Field(..., description="user query")
dt: str = Field(..., description="date time in format(dd-mm-yyyy)")
class StartVideoCallRequest(BaseModel):
to_uuid: str = Field(..., description="UUID of the user you want to call to")
class EndCallRequest(BaseModel):
call_id: int = Field(..., description="Id of the video call to delete")