From 35fcfe8266d93a353a5ea8f7235d56c810f4cc5a Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 9 Mar 2018 14:45:58 +0100 Subject: [PATCH] Add Sticker type --- pyrogram/client/types/sticker.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pyrogram/client/types/sticker.py diff --git a/pyrogram/client/types/sticker.py b/pyrogram/client/types/sticker.py new file mode 100644 index 00000000..1e87fd84 --- /dev/null +++ b/pyrogram/client/types/sticker.py @@ -0,0 +1,21 @@ +from . import PhotoSize, MaskPosition + + +class Sticker: + def __init__(self, + file_id: str, + width: int, + height: int, + thumb: PhotoSize = None, + emoji: str = None, + set_name: str = None, + mask_position: MaskPosition = None, + file_size: int = None): + self.file_id = file_id + self.width = width + self.height = height + self.thumb = thumb + self.emoji = emoji + self.set_name = set_name + self.mask_position = mask_position + self.file_size = file_size