Class WebhookMessageProperties
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
Attachments
Gets or sets the attachments for the message.
public Optional<IEnumerable<FileAttachment>> Attachments { get; set; }
Property Value
Components
Gets or sets the components that the message should display.
public Optional<MessageComponent> Components { get; set; }
Property Value
Content
Gets or sets the content of the message.
public Optional<string> Content { get; set; }
Property Value
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; }