EDA.Event.GuildScheduledEventUpdate (EDA v0.3.0)

Copy Markdown View Source

Dispatched when a guild scheduled event is updated.

Summary

Functions

Converts a raw Discord payload into this event struct.

Types

t()

@type t() :: %EDA.Event.GuildScheduledEventUpdate{
  channel_id: String.t() | nil,
  creator: map() | nil,
  creator_id: String.t() | nil,
  description: String.t() | nil,
  entity_id: String.t() | nil,
  entity_metadata: map() | nil,
  entity_type: integer() | nil,
  guild_id: String.t() | nil,
  id: String.t() | nil,
  name: String.t() | nil,
  privacy_level: integer() | nil,
  scheduled_end_time: String.t() | nil,
  scheduled_start_time: String.t() | nil,
  status: integer() | nil,
  user_count: integer() | nil
}

Functions

from_raw(raw)

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

Converts a raw Discord payload into this event struct.