Concord - C Discord API library
A Discord API wrapper library written in C
discord_audit_log_entry Struct Reference

#include <audit_log.h>

Collaboration diagram for discord_audit_log_entry:
[legend]

Data Fields

u64snowflake target_id
 
struct discord_audit_log_changeschanges
 
u64snowflake user_id
 
u64snowflake id
 
enum discord_audit_log_events action_type
 
struct discord_optional_audit_entry_infosoptions
 
char * reason
 

Detailed Description

Examples
audit-log.c.

Field Documentation

◆ target_id

u64snowflake discord_audit_log_entry::target_id

ID of the affected entity (webhook, user, role, etc.)

Examples
audit-log.c.

◆ changes

struct discord_audit_log_changes* discord_audit_log_entry::changes

changes made to the target_id

◆ user_id

u64snowflake discord_audit_log_entry::user_id

the user who made the changes

Examples
audit-log.c.

◆ id

u64snowflake discord_audit_log_entry::id

id of the entry

◆ action_type

enum discord_audit_log_events discord_audit_log_entry::action_type

type of action that occurred

◆ options

struct discord_optional_audit_entry_infos* discord_audit_log_entry::options

additional info for certain action types

◆ reason

char* discord_audit_log_entry::reason

the reason for the change (0-512) characters


The documentation for this struct was generated from the following file: