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

Struct representing a Discord webhook.

Link to this section 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

Link to this section Types

Specs

avatar() :: integer()

Default avatar of the webhook

Specs

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

Channel the webhook is for

Specs

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

Guild the webhook is for

Specs

id() :: String.t()

Id of the webhook

Specs

name() :: integer()

Default name of the webhook

Specs

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

Specs

token() :: integer()

Secure token of the webhook

Specs

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

User who created the webhook