mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 14:55:12 +00:00
Add PhotoSize type
This commit is contained in:
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
|
Reference in New Issue
Block a user