Make width and height optional

This commit is contained in:
Nexus 2023-11-07 11:34:53 +00:00
parent 4a6fe5e79b
commit 4b101916b2
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -54,8 +54,8 @@ class MessagePayload(pydantic.BaseModel):
proxy_url: str proxy_url: str
filename: str filename: str
size: int size: int
width: int width: Optional[int] = None
height: int height: Optional[int] = None
content_type: str content_type: str
message_id: int message_id: int