EDA.Webhook (EDA v0.3.0)

Copy Markdown View Source

Represents a Discord webhook.

Summary

Types

t()

@type t() :: %EDA.Webhook{
  application_id: String.t() | nil,
  avatar: String.t() | nil,
  channel_id: String.t() | nil,
  guild_id: String.t() | nil,
  id: String.t() | nil,
  name: String.t() | nil,
  token: String.t() | nil,
  type: integer() | nil,
  user: EDA.User.t() | nil
}

Functions

from_raw(raw)

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