EDA.Event.GuildMembersChunk (EDA v0.3.0)

Copy Markdown View Source

Dispatched in response to a guild members request.

Summary

Functions

Converts a raw Discord payload into this event struct.

Types

t()

@type t() :: %EDA.Event.GuildMembersChunk{
  chunk_count: integer() | nil,
  chunk_index: integer() | nil,
  guild_id: String.t() | nil,
  members: [EDA.Member.t()] | nil,
  nonce: String.t() | nil,
  not_found: [String.t()] | nil,
  presences: [map()] | nil
}

Functions

from_raw(raw)

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

Converts a raw Discord payload into this event struct.