Interface TransferGift

Sends a gift upgraded by the current user to another user. Request type for Tdjson#transferGift.

interface TransferGift {
    @type: "transferGift";
    message_id: number;
    receiver_user_id: number;
    sender_user_id: number;
    star_count: number;
}

Properties

@type: "transferGift"
message_id: number

Identifier of the message with the upgraded gift in the chat with the user.

receiver_user_id: number

Identifier of the user that will receive the gift.

sender_user_id: number

Identifier of the user that sent the gift.

star_count: number

The amount of Telegram Stars required for the transfer.