crux_structs v0.1.3 Crux.Structs.VoiceState View Source

Represents a Discord Voice State Object

Link to this section Summary

Functions

Creates a Crux.Structs.VoiceState struct from raw data

Link to this section Types

Link to this type t() View Source
t() :: %Crux.Structs.VoiceState{
  channel_id: integer() | nil,
  deaf: boolean(),
  guild_id: integer(),
  mute: boolean(),
  self_deaf: boolean(),
  self_mute: boolean(),
  session_id: String.t(),
  suppress: boolean(),
  user_id: integer()
}

Link to this section Functions

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

Automatically invoked by Crux.Structs.create/2.