2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 04:48:06 +00:00

Add Sticker type

This commit is contained in:
Dan 2018-03-09 14:45:58 +01:00
parent 3fa30b3a50
commit 35fcfe8266

View File

@ -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