BuyGiftUpgrade constructor

const BuyGiftUpgrade({
  1. required MessageSender ownerId,
  2. required String prepaidUpgradeHash,
  3. required int starCount,
})

Pays for upgrade of a regular gift that is owned by another user or channel chat

Implementation

const BuyGiftUpgrade({
  required this.ownerId,
  required this.prepaidUpgradeHash,
  required this.starCount,
});