SetPinnedGifts constructor

const SetPinnedGifts({
  1. required MessageSender ownerId,
  2. required List<String> receivedGiftIds,
})

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

Implementation

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