File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff 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 """
You can’t perform that action at this time.
0 commit comments