ModerationAction.sendAlert constructor

ModerationAction.sendAlert(
  1. Snowflake channelId
)

Implementation

factory ModerationAction.sendAlert (Snowflake channelId) {
  return ModerationAction(
    ModerationActionType.sendAlertMessage,
    ModerationActionMetadata(channelId, null)
  );
}