Interface SendResoldGift

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. Request type for Tdjson#sendResoldGift.

interface SendResoldGift {
    @type: "sendResoldGift";
    gift_name: string;
    owner_id: MessageSender;
    price: GiftResalePrice;
}

Properties

@type: "sendResoldGift"
gift_name: string

Name of the upgraded gift to send.

owner_id: MessageSender

Identifier of the user or the channel chat that will receive the gift.

The price that the user agreed to pay for the gift.