![]() |
D++ (DPP)
C++ Discord API Bot Library
|
An individual audit log entry. More...
#include <auditlog.h>
Collaboration diagram for dpp::audit_entry:Public Attributes | |
| std::vector< audit_change > | changes |
| Optional: changes made to the target_id. More... | |
| audit_type | event |
| type of action that occurred More... | |
| snowflake | id |
| id of the entry More... | |
| std::optional< audit_extra > | options |
| Optional: additional info for certain action types. More... | |
| std::string | reason |
| Optional: the reason for the change (0-512 characters) More... | |
| snowflake | target_id |
| id of the affected entity (webhook, user, role, etc.) (may be empty) More... | |
| snowflake | user_id |
| the user who made the changes (may be empty) More... | |
An individual audit log entry.
| std::vector<audit_change> dpp::audit_entry::changes |
Optional: changes made to the target_id.
| audit_type dpp::audit_entry::event |
type of action that occurred
| snowflake dpp::audit_entry::id |
id of the entry
| std::optional<audit_extra> dpp::audit_entry::options |
Optional: additional info for certain action types.
| std::string dpp::audit_entry::reason |
Optional: the reason for the change (0-512 characters)
| snowflake dpp::audit_entry::target_id |
id of the affected entity (webhook, user, role, etc.) (may be empty)
| snowflake dpp::audit_entry::user_id |
the user who made the changes (may be empty)