Nostrum v0.4.0 Nostrum.Struct.Webhook View Source

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

Default avatar of the webhook

Link to this type

channel_id() View Source
channel_id() :: Channel.t()

Channel the webhook is for

Link to this type

guild_id() View Source
guild_id() :: Guild.t()

Guild the webhook is for

Id of the webhook

Default name of the webhook

Link to this type

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

Secure token of the webhook

User who created the webhook