Interface ToggleGiftIsSaved

Toggles whether a gift is shown on the current user's or the channel's profile page; requires can_post_messages administrator right in the channel chat. Request type for Tdjson#toggleGiftIsSaved.

interface ToggleGiftIsSaved {
    @type: "toggleGiftIsSaved";
    is_saved?: boolean;
    received_gift_id: string;
}

Properties

@type: "toggleGiftIsSaved"
is_saved?: boolean

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

received_gift_id: string

Identifier of the gift.