ModEventEmail
constructor(subjectLine: String, content: String? = null, comment: String? = null, policies: List<String>? = null, severityLevel: String? = null, strikeCount: Long? = null, strikeExpiresAt: Timestamp? = null, isDelivered: Boolean? = null)
Parameters
subjectLine
The subject line of the email sent to the user.
content
The content of the email sent to the user.
comment
Additional comment about the outgoing comm.
policies
Names/Keywords of the policies that necessitated the email.
severityLevel
Severity level of the violation. Normally 'sev-1' that adds strike on repeat offense
strikeCount
Number of strikes to assign to the user for this violation. Normally 0 as an indicator of a warning and only added as a strike on a repeat offense.
strikeExpiresAt
When the strike should expire. If not provided, the strike never expires.
isDelivered
Indicates whether the email was successfully delivered to the user's inbox.