ToggleMessageSenderIsBlocked constructor

const ToggleMessageSenderIsBlocked({
  1. required MessageSender senderId,
  2. required bool isBlocked,
})

Changes the block state of a message sender. Currently, only users and supergroup chats can be blocked

Implementation

const ToggleMessageSenderIsBlocked({
  required this.senderId,
  required this.isBlocked,
});