SendResoldGift constructor

const SendResoldGift({
  1. required String giftName,
  2. required MessageSender ownerId,
  3. required GiftResalePrice price,
  4. required FormattedText text,
  5. required bool isPrivate,
})

Sends an upgraded gift that is available for resale to another user or channel chat; gifts already owned by the current user must be transferred using transferGift and can't be passed to the method

Implementation

const SendResoldGift({
  required this.giftName,
  required this.ownerId,
  required this.price,
  required this.text,
  required this.isPrivate,
});