Entry

public struct Entry

Representation of an individual entry in audit logs

  • Type of action that occurred

    Declaration

    Swift

    public let actionType: AuditLog.Entry.Event
  • Array of changes made to targetId

    Declaration

    Swift

    public internal(set) var changes = [AuditLog.Entry.Change]()
  • id

    ID of the audit log entry

    Declaration

    Swift

    public let id: Snowflake
  • Optional entry information for certain action types

    Declaration

    Swift

    public let options: [String: Any]
  • User provided reason for this entry

    Declaration

    Swift

    public let reason: String
  • ID of the affected entity

    Declaration

    Swift

    public let targetId: Snowflake
  • User ID that made this change

    Declaration

    Swift

    public let userId: Snowflake