Crux v2020-03-17 17:55:51Z Crux.Structs.AuditLog View Source

Represents a Discord Audit Log Object

Link to this section Summary

Types

All available types that can be resolved into an audit log id.

t()

Functions

Creates a Crux.Structs.AuditLog.t/0 struct from raw data.

Link to this section Types

Link to this type

id_resolvable() View Source (since 0.2.1)

All available types that can be resolved into an audit log id.

Link to this type

t() View Source (since 0.1.6)
t() :: %Crux.Structs.AuditLog{
  audit_log_entries: %{
    required(Crux.Structs.Snowflake.t()) => Crux.Structs.AuditLogEntry.t()
  },
  integrations: %{required(Crux.Structs.Snowflake.t()) => map()},
  users: %{required(Crux.Structs.Snowflake.t()) => Crux.Structs.User.t()},
  webhooks: %{required(Crux.Structs.Snowflake.t()) => Crux.Structs.Webhook.t()}
}

Link to this section Functions

Link to this function

create(data) View Source (since 0.1.6)
create(data :: map()) :: t()

Creates a Crux.Structs.AuditLog.t/0 struct from raw data.

Automatically invoked by Crux.Structs.create/2.