ToggleGiftIsSaved constructor

const ToggleGiftIsSaved({
  1. required String receivedGiftId,
  2. required bool isSaved,
})

Toggles whether a gift is shown on the current user's or the channel's profile page; requires can_post_messages administrator right in the channel chat

Implementation

const ToggleGiftIsSaved({
  required this.receivedGiftId,
  required this.isSaved,
});