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
filename: str
size: int
width: int
height: int
width: Optional[int] = None
height: Optional[int] = None
content_type: str
message_id: int