ReorderGiftCollectionGifts constructor

const ReorderGiftCollectionGifts({
  1. required MessageSender ownerId,
  2. required int collectionId,
  3. required List<String> receivedGiftIds,
})

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

Implementation

const ReorderGiftCollectionGifts({
  required this.ownerId,
  required this.collectionId,
  required this.receivedGiftIds,
});