ToggleChatGiftNotifications constructor

const ToggleChatGiftNotifications({
  1. required int chatId,
  2. required bool areEnabled,
})

Toggles whether notifications for new gifts received by a channel chat are sent to the current user; requires can_post_messages administrator right in the chat

Implementation

const ToggleChatGiftNotifications({
  required this.chatId,
  required this.areEnabled,
});