mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 10:03:40 +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
|
||||
filename: str
|
||||
size: int
|
||||
width: int
|
||||
height: int
|
||||
width: Optional[int] = None
|
||||
height: Optional[int] = None
|
||||
content_type: str
|
||||
|
||||
message_id: int
|
||||
|
|
Loading…
Reference in a new issue