ModerationCustomActionEvent constructor

ModerationCustomActionEvent({
  1. required DateTime createdAt,
  2. ReviewQueueItem? item,
  3. Message? message,
  4. String type = 'moderation.custom_action',
  5. UserObject? user,
})

Returns a new ModerationCustomActionEvent instance.

Implementation

ModerationCustomActionEvent({
  required this.createdAt,
  this.item,
  this.message,
  this.type = 'moderation.custom_action',
  this.user,
});