crux_structs v0.1.3 Crux.Structs.Presence View Source

Represents a Discord Presence Object.

Link to this section Summary

Functions

Creates a Crux.Structs.Presence struct from raw data

Link to this section Types

Link to this type t() View Source
t() :: %Crux.Structs.Presence{
  game: map() | nil,
  status: String.t(),
  user: integer()
}

Link to this section Functions

Creates a Crux.Structs.Presence struct from raw data.

Automatically invoked by Crux.Structs.create/2.