PyroFork: Fix derps

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2023-04-10 22:38:16 +07:00
parent d5b2a76fc6
commit caf80f239b
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5
5 changed files with 12 additions and 5 deletions

View file

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

View file

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

View file

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

View file

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

View file

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