View Source Nostrum.Struct.Webhook (Nostrum v0.9.0)

Struct representing a Discord webhook.

Summary

Types

Default avatar of the webhook

Channel the webhook is for

Guild the webhook is for

Id of the webhook

Default name of the webhook

t()

Secure token of the webhook

User who created the webhook

Types

@type avatar() :: integer()

Default avatar of the webhook

@type channel_id() :: Nostrum.Struct.Channel.t()

Channel the webhook is for

@type guild_id() :: Nostrum.Struct.Guild.t()

Guild the webhook is for

@type id() :: String.t()

Id of the webhook

@type name() :: integer()

Default name of the webhook

@type t() :: %Nostrum.Struct.Webhook{
  avatar: avatar(),
  channel_id: channel_id(),
  guild_id: guild_id(),
  id: id(),
  name: name(),
  token: token(),
  user: user()
}
@type token() :: integer()

Secure token of the webhook

@type user() :: Nostrum.Struct.User.t()

User who created the webhook