mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
PyroFork: Fix derps
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
d5b2a76fc6
commit
caf80f239b
5 changed files with 12 additions and 5 deletions
|
|
@ -266,6 +266,12 @@ def pyrogram_api():
|
|||
get_default_emoji_statuses
|
||||
set_emoji_status
|
||||
""",
|
||||
stickers="""
|
||||
Stickers
|
||||
add_sticker_to_set
|
||||
create_sticker_set
|
||||
get_sticker_set
|
||||
""",
|
||||
invite_links="""
|
||||
Invite Links
|
||||
get_chat_invite_link
|
||||
|
|
@ -421,6 +427,7 @@ def pyrogram_api():
|
|||
Location
|
||||
Venue
|
||||
Sticker
|
||||
StickerSet
|
||||
Game
|
||||
WebPage
|
||||
Poll
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@ class AddStickerToSet:
|
|||
sticker: str,
|
||||
emoji: str = "🤔",
|
||||
) -> "types.StickerSet":
|
||||
"""Get info about a stickerset.
|
||||
"""Add a sticker to stickerset.
|
||||
|
||||
.. include:: /_includes/usable-by/bot.rst
|
||||
.. include:: /_includes/usable-by/bots.rst
|
||||
|
||||
Parameters:
|
||||
set_short_name (``str``):
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class CreateStickerSet:
|
|||
videos: bool = None,
|
||||
emojis: bool = None
|
||||
) -> Optional["types.Message"]:
|
||||
"""Send generic files.
|
||||
"""Create a new stickerset.
|
||||
|
||||
.. include:: /_includes/usable-by/users-bots.rst
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class GetStickerSet:
|
|||
) -> "types.StickerSet":
|
||||
"""Get info about a stickerset.
|
||||
|
||||
.. include:: /_includes/usable-by/users-bot.rst
|
||||
.. include:: /_includes/usable-by/users-bots.rst
|
||||
|
||||
Parameters:
|
||||
set_short_name (``str``):
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ from ..object import Object
|
|||
|
||||
|
||||
class StickerSet(Object):
|
||||
"""One size of a photo or a file/sticker thumbnail.
|
||||
"""A stickerset.
|
||||
|
||||
Parameters:
|
||||
id (``Integer``):
|
||||
|
|
|
|||
Loading…
Reference in a new issue