DiscordDefaultWebhook
Namespace: Discord
Inherits from
DiscordWebhookProperties
Name
Description
Type
Token
The webhook's token
string
Methods
Constructor
Please note that this constructor should only be used if you're not admin of the parent server. If you are, just call GetWebhook() on your existing client.
Parameters
Name
Description
Type
webhookId
ID of the webhook
ulong
token
The webhook's token
string
SendMessage
Sends a message through the webhook.
Parameters
Name
Description
Type
content
The contents of the message
string
embed
The embed to include in the message
DiscordEmbed?
profile
The profile to use for this specific message
DiscordWebhookProfile
Last updated