set_pinned_gifts


Description:

public async Ok set_pinned_gifts (MessageSender owner_id, ArrayList<string?> received_gift_ids) throws TDLibError

Changes the list of pinned gifts on the current user's or the channel's profile page; requires can_post_messages administrator right in the channel chat

Parameters:

owner_id

Identifier of the user or the channel chat that received the gifts

received_gift_ids

New list of pinned gifts. All gifts must be upgraded and saved on the profile page first. There can be up to getOption("pinned_gift_count_max") pinned gifts