DiscordAuditLogEntry

data class DiscordAuditLogEntry(val targetId: Snowflake?, val changes: Optional<List<AuditLogChange<in Any?>>> = Optional.Missing(), val userId: Snowflake?, val id: Snowflake, val actionType: AuditLogEvent, val options: Optional<AuditLogEntryOptionalInfo> = Optional.Missing(), val reason: Optional<String> = Optional.Missing())(source)

Constructors

Link copied to clipboard
constructor(targetId: Snowflake?, changes: Optional<List<AuditLogChange<in Any?>>> = Optional.Missing(), userId: Snowflake?, id: Snowflake, actionType: AuditLogEvent, options: Optional<AuditLogEntryOptionalInfo> = Optional.Missing(), reason: Optional<String> = Optional.Missing())

Properties

Link copied to clipboard
@SerialName(value = "action_type")
val actionType: AuditLogEvent
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "target_id")
val targetId: Snowflake?
Link copied to clipboard
@SerialName(value = "user_id")
val userId: Snowflake?

Functions

Link copied to clipboard
operator fun <T> get(value: AuditLogChangeKey<T>): AuditLogChange<T>?