mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Add Sticker type
This commit is contained in:
parent
3fa30b3a50
commit
35fcfe8266
1 changed files with 21 additions and 0 deletions
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…
Reference in a new issue