crux_structs v0.2.0 Crux.Structs.AuditLog View Source
Represents a Discord Audit Log Object
Link to this section Summary
Functions
Creates a Crux.Structs.AuditLog
struct from raw data
Link to this section Types
Link to this type
t()
View Source
(since 0.1.6)
t()
View Source
(since 0.1.6)
t() :: %Crux.Structs.AuditLog{
audit_log_entries: %{
optional(Crux.Rest.snowflake()) => Crux.Structs.AuditLogEntry.t()
},
users: %{optional(Crux.Rest.snowflake()) => Crux.Structs.User.t()},
webhooks: %{optional(Crux.Rest.snowflake()) => Crux.Structs.Webhook.t()}
}
t() :: %Crux.Structs.AuditLog{ audit_log_entries: %{ optional(Crux.Rest.snowflake()) => Crux.Structs.AuditLogEntry.t() }, users: %{optional(Crux.Rest.snowflake()) => Crux.Structs.User.t()}, webhooks: %{optional(Crux.Rest.snowflake()) => Crux.Structs.Webhook.t()} }
Link to this section Functions
Link to this function
create(data) View Source (since 0.1.6)
Creates a Crux.Structs.AuditLog
struct from raw data.
Automatically invoked by
Crux.Structs.create/2
.