Interface DeleteGift

Deletes a gift without receiving Telegram Stars for it. Use receivedGift.can_be_deleted or messageGift.can_be_deleted to check whether the gift can be deleted. The gift may be deleted even if it can still be sold using sellGift. Request type for Tdjson#deleteGift.

interface DeleteGift {
    @type: "deleteGift";
    business_connection_id: string;
    received_gift_id: string;
}

Properties

@type: "deleteGift"
business_connection_id: string

Unique identifier of the business connection on behalf of which to send the request; for bots only.

received_gift_id: string

Identifier of the gift.