EDA.Event.ChannelUpdate (EDA v0.3.0)

Copy Markdown View Source

Dispatched when a channel is updated.

Summary

Functions

Converts a raw Discord payload into this event struct.

Types

t()

@type t() :: %EDA.Event.ChannelUpdate{
  bitrate: integer() | nil,
  guild_id: String.t() | nil,
  id: String.t() | nil,
  name: String.t() | nil,
  nsfw: boolean() | nil,
  parent_id: String.t() | nil,
  permission_overwrites: [EDA.PermissionOverwrite.t()] | nil,
  position: integer() | nil,
  rate_limit_per_user: integer() | nil,
  topic: String.t() | nil,
  type: integer() | nil,
  user_limit: integer() | nil
}

Functions

from_raw(raw)

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

Converts a raw Discord payload into this event struct.