APIAuditLogEntry
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-entry-structure
Signature
export interface APIAuditLogEntryProperties
target_id: string | null;ID of the affected entity (webhook, user, role, etc.)
changes?: APIAuditLogChange[];Changes made to the `target_id` See https://discord.com/developers/docs/resources/audit-log#audit-log-change-object
user_id: Snowflake | null;The user who made the changes This can be `null` in some cases (webhooks deleting themselves by using their own token, for example)
id: Snowflake;ID of the entry
action_type: AuditLogEvent;Type of action that occurred See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events
options?: APIAuditLogOptions;Additional info for certain action types See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info
reason?: string;The reason for the change (0-512 characters)