Skip to main content

Class WebhookMessageProperties

Properties that are used to modify an Webhook message with the specified changes.

Assembly: Discord.Net.Webhook.dll​
View Source​
Declaration
public class WebhookMessageProperties

Properties​

Content​

Gets or sets the content of the message.

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

Embeds​

Gets or sets the embed array that the message should display.

View Source​
Declaration
public Optional<IEnumerable<Embed>> Embeds { get; set; }

AllowedMentions​

Gets or sets the allowed mentions of the message.

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

Components​

Gets or sets the components that the message should display.

View Source​
Declaration
public Optional<MessageComponent> Components { get; set; }