get_collectible_item_info()

Client.get_collectible_item_info()

Returns information about a given collectible item that was purchased at https://fragment.com.

Usable by Users Bots

You must use exactly one of username OR phone_number.

Parameters:
  • username (``str``, *optional*) – Describes a collectible username that can be purchased at https://fragment.com

  • phone_number (``str``, *optional*) – Describes a collectible phone number that can be purchased at https://fragment.com

Returns:

:obj:`~pyrogram.types.CollectibleInfo` (On success, a collectible info is returned.)

Example

username = await app.get_collectible_item_info(username="nerd")
print(username)