Skip to content

Commit 7a9fb43

Browse files
committed
pyrofork: fix get_collectible_item_info docstring
Signed-off-by: wulan17 <wulan17@komodos.id>
1 parent 0b54874 commit 7a9fb43

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pyrogram/methods/bots/get_collectible_item_info.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,24 @@ async def get_collectible_item_info(
2828
phone_number: str = None
2929
) -> "types.CollectibleInfo":
3030
"""Returns information about a given collectible item that was purchased at https://fragment.com
31+
3132
.. include:: /_includes/usable-by/users.rst
33+
3234
You must use exactly one of ``username`` OR ``phone_number``.
35+
3336
Parameters:
3437
username (``str``, *optional*):
3538
Describes a collectible username that can be purchased at https://fragment.com
39+
3640
phone_number (``str``, *optional*):
3741
Describes a collectible phone number that can be purchased at https://fragment.com
42+
3843
Returns:
3944
:obj:`~pyrogram.types.CollectibleInfo`: On success, a collectible info is returned.
45+
4046
Example:
4147
.. code-block:: python
48+
4249
username = await app.get_collectible_item_info(username="nerd")
4350
print(username)
4451
"""

0 commit comments

Comments
 (0)