Table of Contents

Class WebhookMessageProperties

Namespace
Discord.Webhook
Assembly
Discord.Net.Webhook.dll

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

public class WebhookMessageProperties
Inheritance
WebhookMessageProperties
Inherited Members

Properties

AllowedMentions

Gets or sets the allowed mentions of the message.

public Optional<AllowedMentions> AllowedMentions { get; set; }

Property Value

Optional<AllowedMentions>

Attachments

Gets or sets the attachments for the message.

public Optional<IEnumerable<FileAttachment>> Attachments { get; set; }

Property Value

Optional<IEnumerable<FileAttachment>>

Components

Gets or sets the components that the message should display.

public Optional<MessageComponent> Components { get; set; }

Property Value

Optional<MessageComponent>

Content

Gets or sets the content of the message.

public Optional<string> Content { get; set; }

Property Value

Optional<string>

Remarks

This must be less than the constant defined by MaxMessageSize.

Embeds

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

public Optional<IEnumerable<Embed>> Embeds { get; set; }

Property Value

Optional<IEnumerable<Embed>>