toggle_gift_is_saved


Description:

public async Ok toggle_gift_is_saved (string received_gift_id, bool is_saved) throws TDLibError

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

Parameters:

received_gift_id

Identifier of the gift

is_saved

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