mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 05:54:51 +00:00
pyrofork: remove animated, emojis, and videos parameters from create_sticker_pack method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
eae031f79a
commit
622616b38d
1 changed files with 2 additions and 17 deletions
|
|
@ -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
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue