setPinnedGifts
Function · TDLib 1.8.67 · d1085f9c
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
setPinnedGifts(
owner_id: MessageSender,
received_gift_ids: list of string
) → Ok
owner_id
MessageSender
Identifier of the user or the channel chat that received the gifts
received_gift_ids
list of string
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