Nostrum.Struct.Webhook (nostrum v0.11.0-dev)

View Source

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

avatar()

@type avatar() :: integer()

Default avatar of the webhook

channel_id()

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

Channel the webhook is for

guild_id()

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

Guild the webhook is for

id()

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

Id of the webhook

name()

@type name() :: integer()

Default name of the webhook

t()

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

token()

@type token() :: integer()

Secure token of the webhook

user()

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

User who created the webhook