mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 07:24: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,
|
short_name: str,
|
||||||
sticker: str,
|
sticker: str,
|
||||||
emoji: str = "🤔",
|
emoji: str = "🤔",
|
||||||
masks: bool = None,
|
masks: bool = None
|
||||||
animated: bool = None,
|
|
||||||
videos: bool = None,
|
|
||||||
emojis: bool = None
|
|
||||||
) -> Optional["types.Message"]:
|
) -> Optional["types.Message"]:
|
||||||
"""Create a new stickerset.
|
"""Create a new stickerset.
|
||||||
|
|
||||||
|
|
@ -68,15 +65,6 @@ class CreateStickerSet:
|
||||||
masks (``bool``, *optional*):
|
masks (``bool``, *optional*):
|
||||||
Whether this is a mask stickerset.
|
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:
|
Returns:
|
||||||
:obj:`~pyrogram.types.StickerSet` | ``None``: On success, the StickerSet is returned.
|
:obj:`~pyrogram.types.StickerSet` | ``None``: On success, the StickerSet is returned.
|
||||||
|
|
||||||
|
|
@ -112,10 +100,7 @@ class CreateStickerSet:
|
||||||
emoji=emoji
|
emoji=emoji
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
masks=masks,
|
masks=masks
|
||||||
animated=animated,
|
|
||||||
videos=videos,
|
|
||||||
emojis=emojis
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue