export interface APIAuditLogOptionsoptionalauto_moderation_rule_name? : string
Name of the Auto Moderation rule that was triggeredPresent from: - AUTO_MODERATION_BLOCK_MESSAGE - AUTO_MODERATION_FLAG_TO_CHANNEL - AUTO_MODERATION_USER_COMMUNICATION_DISABLED
optionalauto_moderation_rule_trigger_type? : AuditLogRuleTriggerType
Trigger type of the Auto Moderation rule that was triggeredPresent from: - AUTO_MODERATION_BLOCK_MESSAGE - AUTO_MODERATION_FLAG_TO_CHANNEL - AUTO_MODERATION_USER_COMMUNICATION_DISABLED
optionalchannel_id? : Snowflake
Channel in which the entities were targetedPresent from: - MEMBER_MOVE - MESSAGE_PIN - MESSAGE_UNPIN - MESSAGE_DELETE - STAGE_INSTANCE_CREATE - STAGE_INSTANCE_UPDATE - STAGE_INSTANCE_DELETE - AUTO_MODERATION_BLOCK_MESSAGE - AUTO_MODERATION_FLAG_TO_CHANNEL - AUTO_MODERATION_USER_COMMUNICATION_DISABLED
optionalcount? : string
Number of entities that were targetedPresent from: - MESSAGE_DELETE - MESSAGE_BULK_DELETE - MEMBER_DISCONNECT - MEMBER_MOVE
optionaldelete_member_days? : string
Number of days after which inactive members were kickedPresent from: - MEMBER_PRUNE
optionalid? : Snowflake
ID of the overwritten entityPresent from: - CHANNEL_OVERWRITE_CREATE - CHANNEL_OVERWRITE_UPDATE - CHANNEL_OVERWRITE_DELETE
optionalintegration_type? : APIGuildIntegrationType
Type of integration which performed the actionPresent from: - MEMBER_KICK - MEMBER_ROLE_UPDATE
optionalmembers_removed? : string
Number of members removed by the prunePresent from: - MEMBER_PRUNE
optionalmessage_id? : Snowflake
ID of the message that was targetedPresent from: - MESSAGE_PIN - MESSAGE_UNPIN
optionalrole_name? : string
Name of the rolePresent from: - CHANNEL_OVERWRITE_CREATE - CHANNEL_OVERWRITE_UPDATE - CHANNEL_OVERWRITE_DELETE**Present only if the is "0"**
optionaltype? : AuditLogOptionsType
Type of overwritten entity - "0" for "role" or "1" for "member"Present from: - CHANNEL_OVERWRITE_CREATE - CHANNEL_OVERWRITE_UPDATE - CHANNEL_OVERWRITE_DELETEAuditLogOptionsType