Elixir v0.2.0 Nostrum.Struct.Webhook

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()
avatar() :: integer

Default avatar of the webhook

channel_id()
channel_id() :: Channel.t

Channel the webhook is for

guild_id()
guild_id() :: Guild.t

Guild the webhook is for

id()
id() :: String.t

Id of the webhook

name()
name() :: integer

Default name of the webhook

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

Secure token of the webhook

user()

User who created the webhook