UserBannedEvent constructor
UserBannedEvent({})
Returns a new UserBannedEvent instance.
Implementation
UserBannedEvent({
required this.channelId,
required this.channelType,
required this.cid,
required this.createdAt,
required this.createdBy,
this.expiration,
this.reason,
required this.shadow,
this.team,
this.type = 'user.banned',
this.user,
});