From 622616b38d51f546584efc1aa5a5880bea94c918 Mon Sep 17 00:00:00 2001 From: wulan17 Date: Fri, 31 May 2024 22:39:38 +0700 Subject: [PATCH] pyrofork: remove animated, emojis, and videos parameters from create_sticker_pack method Signed-off-by: wulan17 --- .../methods/stickers/create_sticker_set.py | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/pyrogram/methods/stickers/create_sticker_set.py b/pyrogram/methods/stickers/create_sticker_set.py index 744ca034..6365276d 100644 --- a/pyrogram/methods/stickers/create_sticker_set.py +++ b/pyrogram/methods/stickers/create_sticker_set.py @@ -34,10 +34,7 @@ class CreateStickerSet: short_name: str, sticker: str, emoji: str = "🤔", - masks: bool = None, - animated: bool = None, - videos: bool = None, - emojis: bool = None + masks: bool = None ) -> Optional["types.Message"]: """Create a new stickerset. @@ -68,15 +65,6 @@ class CreateStickerSet: masks (``bool``, *optional*): Whether this is a mask stickerset. - animated (``bool``, *optional*): - Whether this is a animated stickerset. - - videos (``bool``, *optional*): - Whether this is a videos stickerset. - - emojis (``bool``, *optional*): - Whether this is a emojis stickerset. - Returns: :obj:`~pyrogram.types.StickerSet` | ``None``: On success, the StickerSet is returned. @@ -112,10 +100,7 @@ class CreateStickerSet: emoji=emoji ) ], - masks=masks, - animated=animated, - videos=videos, - emojis=emojis + masks=masks ) )