Interface ReorderGiftCollectionGifts

Changes order of gifts in a collection. If the collection is owned by a channel chat, then requires can_post_messages administrator right in the channel chat. Returns the changed collection. Request type for Tdjson#reorderGiftCollectionGifts.

interface ReorderGiftCollectionGifts {
    @type: "reorderGiftCollectionGifts";
    collection_id: number;
    owner_id: MessageSender;
    received_gift_ids: string[];
}

Properties

@type: "reorderGiftCollectionGifts"
collection_id: number

Identifier of the gift collection.

owner_id: MessageSender

Identifier of the user or the channel chat that owns the collection.

received_gift_ids: string[]

Identifier of the gifts to move to the beginning of the collection. All other gifts are placed in the current order after the specified gifts.