mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Add PhotoSize type
This commit is contained in:
parent
18c20f0ca5
commit
48bf7438b7
1 changed files with 10 additions and 0 deletions
10
pyrogram/client/types/photo_size.py
Normal file
10
pyrogram/client/types/photo_size.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
class PhotoSize:
|
||||
def __init__(self,
|
||||
file_id: str,
|
||||
width: int,
|
||||
height: int,
|
||||
file_size: int):
|
||||
self.file_id = file_id
|
||||
self.width = width
|
||||
self.height = height
|
||||
self.file_size = file_size
|
||||
Loading…
Reference in a new issue