EDA.Event.VoiceChannelStartTimeUpdate (EDA v0.5.0-beta.2)

Copy Markdown View Source

Dispatched when a voice channel's session start time changes: someone joined an empty channel, or the last person left (voice_start_time: nil).

Summary

Functions

Converts a raw Discord payload into this event struct.

Types

t()

@type t() :: %EDA.Event.VoiceChannelStartTimeUpdate{
  channel_id: String.t() | nil,
  guild_id: String.t() | nil,
  voice_start_time: DateTime.t() | nil
}

Functions

from_raw(raw)

@spec from_raw(map()) :: t()

Converts a raw Discord payload into this event struct.