Interface ToggleGiftIsSaved

Toggles whether a gift is shown on the current user's profile page. Request type for Tdjson#toggleGiftIsSaved.

interface ToggleGiftIsSaved {
    @type: "toggleGiftIsSaved";
    is_saved?: boolean;
    message_id: number;
    sender_user_id: number;
}

Properties

@type: "toggleGiftIsSaved"
is_saved?: boolean

Pass true to display the gift on the user's profile page; pass false to remove it from the profile page.

message_id: number

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

sender_user_id: number

Identifier of the user that sent the gift.