Class DiscordEditWebhookMessage
Represents a discord Edit Webhook Message API request model. Docs: https://discord.com/developers/docs/resources/webhook#webhook-object-jsonform-params
Inheritance
System.Object
DiscordEditWebhookMessage
Implements
System.IEquatable<DiscordEditWebhookMessage>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Color_Chan.Discord.Core.Common.API.Params.Webhook
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordEditWebhookMessage : IEquatable<DiscordEditWebhookMessage>
Properties
| Improve this Doc View SourceAllowedMentions
Allowed mentions object.
Declaration
[JsonPropertyName("allowed_mentions")]
public DiscordAllowedMentionsData AllowedMentions { get; set; }
Property Value
Type | Description |
---|---|
DiscordAllowedMentionsData |
Attachments
Any attached files.
Declaration
[JsonPropertyName("attachments")]
public IEnumerable<DiscordAttachmentData> Attachments { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<DiscordAttachmentData> |
Components
Sent if the message contains components like buttons, action rows, or other interactive components.
Declaration
[JsonPropertyName("components")]
public IEnumerable<DiscordComponentData> Components { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<DiscordComponentData> |
Content
Contents of the message.
Declaration
[JsonPropertyName("content")]
public string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Embeds
Any embedded content.
Declaration
[JsonPropertyName("embeds")]
public IEnumerable<DiscordEmbedData> Embeds { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<DiscordEmbedData> |
Implements
System.IEquatable<T>