mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Merge pull request #57 from X1A0CA1/main
docs(get_custom_emoji_stickers): Fix errors in documentation
This commit is contained in:
commit
a6f4443aa9
1 changed files with 2 additions and 2 deletions
|
|
@ -34,13 +34,13 @@ class GetCustomEmojiStickers:
|
||||||
.. include:: /_includes/usable-by/users-bots.rst
|
.. include:: /_includes/usable-by/users-bots.rst
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
custom_emoji_ids (List[:obj:`int` | :obj:`List[int]`]):
|
custom_emoji_ids (:obj:`int` | :obj:`List[int]`):
|
||||||
Custom emoji ID.
|
Custom emoji ID.
|
||||||
At most 200 custom emoji identifiers can be specified.
|
At most 200 custom emoji identifiers can be specified.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
:obj: `~pyrogram.types.Sticker` | List of :obj:`~pyrogram.types.Sticker`: In case *custom_emoji_ids* was not
|
:obj: `~pyrogram.types.Sticker` | List of :obj:`~pyrogram.types.Sticker`: In case *custom_emoji_ids* was not
|
||||||
a lost, a single sticker is returned, otherwise a list of stickers is returned.
|
a list, a single sticker is returned, otherwise a list of stickers is returned.
|
||||||
"""
|
"""
|
||||||
is_list = isinstance(custom_emoji_ids, list)
|
is_list = isinstance(custom_emoji_ids, list)
|
||||||
custom_emoji_ids = [custom_emoji_ids] if not is_list else custom_emoji_ids
|
custom_emoji_ids = [custom_emoji_ids] if not is_list else custom_emoji_ids
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue