MyActivity

MyActivity object

Methods:

  • .toDict(): Converts the PortalsGift object back to a dictionary format.

Attributes:

Attributes:

  • .nft: Returns a PortalsGift object. See PortalsGift

  • .target_user_id: ⚠️ Not sure about this one

  • .nft_id: id of the nft

  • .offer_id: Returns id of the offer, if the activity type is offer . Else None.

  • .type: type of activity

  • .amount: returns amount of TON for the activity

  • .created_at: activity creation date+time

  • .referrer_revenue: revenue your referrer got for the activity

  • .collection_id: id of the collection of the nft

  • .metadata: ⚠️ almost always empty, not sure about this one

  • .offer_status: returns offer status if activity type is offer, else None.

  • .offer_price: returns offer price if activity type is offer, else None.

  • .recipient_id: ⚠️ Not sure about this one (it's always your Telegram user id)

Last updated