From 48bf7438b71b48bfa4bd766677a59ebe6e192aa7 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 9 Mar 2018 14:45:06 +0100 Subject: [PATCH] Add PhotoSize type --- pyrogram/client/types/photo_size.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pyrogram/client/types/photo_size.py diff --git a/pyrogram/client/types/photo_size.py b/pyrogram/client/types/photo_size.py new file mode 100644 index 00000000..3ada21d7 --- /dev/null +++ b/pyrogram/client/types/photo_size.py @@ -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