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
|
get_default_emoji_statuses
|
||||||
set_emoji_status
|
set_emoji_status
|
||||||
""",
|
""",
|
||||||
|
stickers="""
|
||||||
|
Stickers
|
||||||
|
add_sticker_to_set
|
||||||
|
create_sticker_set
|
||||||
|
get_sticker_set
|
||||||
|
""",
|
||||||
invite_links="""
|
invite_links="""
|
||||||
Invite Links
|
Invite Links
|
||||||
get_chat_invite_link
|
get_chat_invite_link
|
||||||
|
|
@ -421,6 +427,7 @@ def pyrogram_api():
|
||||||
Location
|
Location
|
||||||
Venue
|
Venue
|
||||||
Sticker
|
Sticker
|
||||||
|
StickerSet
|
||||||
Game
|
Game
|
||||||
WebPage
|
WebPage
|
||||||
Poll
|
Poll
|
||||||
|
|
|
||||||
|
|
@ -31,9 +31,9 @@ class AddStickerToSet:
|
||||||
sticker: str,
|
sticker: str,
|
||||||
emoji: str = "🤔",
|
emoji: str = "🤔",
|
||||||
) -> "types.StickerSet":
|
) -> "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:
|
Parameters:
|
||||||
set_short_name (``str``):
|
set_short_name (``str``):
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ class CreateStickerSet:
|
||||||
videos: bool = None,
|
videos: bool = None,
|
||||||
emojis: bool = None
|
emojis: bool = None
|
||||||
) -> Optional["types.Message"]:
|
) -> Optional["types.Message"]:
|
||||||
"""Send generic files.
|
"""Create a new stickerset.
|
||||||
|
|
||||||
.. include:: /_includes/usable-by/users-bots.rst
|
.. include:: /_includes/usable-by/users-bots.rst
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ class GetStickerSet:
|
||||||
) -> "types.StickerSet":
|
) -> "types.StickerSet":
|
||||||
"""Get info about a stickerset.
|
"""Get info about a stickerset.
|
||||||
|
|
||||||
.. include:: /_includes/usable-by/users-bot.rst
|
.. include:: /_includes/usable-by/users-bots.rst
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
set_short_name (``str``):
|
set_short_name (``str``):
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ from ..object import Object
|
||||||
|
|
||||||
|
|
||||||
class StickerSet(Object):
|
class StickerSet(Object):
|
||||||
"""One size of a photo or a file/sticker thumbnail.
|
"""A stickerset.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
id (``Integer``):
|
id (``Integer``):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue