ChatEventMemberRestricted constructor

const ChatEventMemberRestricted({
  1. required MessageSender memberId,
  2. required ChatMemberStatus oldStatus,
  3. required ChatMemberStatus newStatus,
})

A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed

Implementation

const ChatEventMemberRestricted({
  required this.memberId,
  required this.oldStatus,
  required this.newStatus,
});