crux_structs v0.2.3 Crux.Structs.Integration View Source
Represents a Discord Integration Object.
Link to this section Summary
Functions
Creates a t:Crux.Structs.Integration.t/0 struct from raw data.
Link to this section Types
Specs
id_resolvable() :: Crux.Structs.Integration.t() | Crux.Structs.Snowflake.t()
All available types that can be resolved into an integration id.
Specs
t() :: %Crux.Structs.Integration{
account: map(),
enable_emoticons: boolean() | nil,
enabled: boolean(),
expire_behavior: 0..1,
expire_grace_period: integer(),
id: Crux.Structs.Snowflake.t(),
name: String.t(),
role_id: Crux.Structs.Snowflake.t(),
synced_at: String.t(),
syncing: boolean(),
type: String.t(),
user: Crux.Structs.Snowflake.t()
}
Link to this section Functions
Specs
Creates a t:Crux.Structs.Integration.t/0 struct from raw data.
Automatically invoked by
Crux.Structs.create/2.