pyrofork: remove animated, emojis, and videos parameters from create_sticker_pack method

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2024-05-31 22:39:38 +07:00
parent eae031f79a
commit 622616b38d
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

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