mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Make width and height optional
This commit is contained in:
parent
4a6fe5e79b
commit
4b101916b2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue