mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 20:59:29 +00:00
Add PhotoSize type
This commit is contained in:
parent
18c20f0ca5
commit
48bf7438b7
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 New Issue
Block a user