SetMessageSenderBlockList constructor

const SetMessageSenderBlockList({
  1. required MessageSender senderId,
  2. BlockList? blockList,
})

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

Implementation

const SetMessageSenderBlockList({
  required this.senderId,
  this.blockList,
});