mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Add Sticker type
This commit is contained in:
parent
3fa30b3a50
commit
35fcfe8266
21
pyrogram/client/types/sticker.py
Normal file
21
pyrogram/client/types/sticker.py
Normal 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
|
Loading…
x
Reference in New Issue
Block a user