GiftedPremium

class pyrogram.types.GiftedPremium

Telegram Premium was gifted to the user

Parameters:
  • gifter_user_id (int) – The identifier of a user that gifted Telegram Premium; 0 if the gift was anonymous

  • currency (str) – Currency for the paid amount

  • amount (int) – The paid amount, in the smallest units of the currency

  • cryptocurrency (str) – Cryptocurrency used to pay for the gift; may be empty if none

  • cryptocurrency_amount (int) – The paid amount, in the smallest units of the cryptocurrency; 0 if none

  • month_count (int) – Number of months the Telegram Premium subscription will be active