Skip to main content

Class WebhookProperties

Properties used to modify an Discord.IWebhook with the specified changes.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class WebhookProperties

Properties​

Name​

Gets or sets the default name of the webhook.

View Source​
Declaration
public Optional<string> Name { get; set; }

Image​

Gets or sets the default avatar of the webhook.

View Source​
Declaration
public Optional<Image?> Image { get; set; }

Channel​

Gets or sets the channel for this webhook.

View Source​
Declaration
public Optional<ITextChannel> Channel { get; set; }

ChannelId​

Gets or sets the channel ID for this webhook.

View Source​
Declaration
public Optional<ulong> ChannelId { get; set; }