Interface TransferGift

Sends an upgraded gift to another user or a channel chat. Request type for Tdjson#transferGift.

interface TransferGift {
    @type: "transferGift";
    new_owner_id: MessageSender;
    received_gift_id: string;
    star_count: number;
}

Properties

@type: "transferGift"
new_owner_id: MessageSender

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

received_gift_id: string

Identifier of the gift.

star_count: number

The amount of Telegram Stars required to pay for the transfer.