Class DiscordEditChannelMessage
Represents a discord Edit message API request model. Docs: https://discord.com/developers/docs/resources/channel#embed-limits-jsonform-params
Inheritance
System.Object
DiscordEditChannelMessage
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.Channel
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordEditChannelMessage
Properties
| Improve this Doc View SourceAllowedMentions
Allowed mentions for the message.
Declaration
[JsonPropertyName("allowed_mentions")]
public IEnumerable<DiscordAllowedMentionsData> AllowedMentions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<DiscordAllowedMentionsData> |
Attachments
Attached files to keep.
Declaration
[JsonPropertyName("attachments")]
public IEnumerable<DiscordAttachmentData> Attachments { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<DiscordAttachmentData> |
Components
The components to include with the message.
Declaration
[JsonPropertyName("components")]
public IEnumerable<DiscordComponentData> Components { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<DiscordComponentData> |
Content
The message contents (up to 2000 characters).
Declaration
[JsonPropertyName("content")]
public string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Embed
Embedded rich content.
Declaration
[JsonPropertyName("embed ")]
[Obsolete("deprecated in favor of Embeds")]
public IEnumerable<DiscordEmbedData> Embed { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<DiscordEmbedData> |
Embeds
Embedded rich content (up to 6000 characters).
Declaration
[JsonPropertyName("embeds")]
public IEnumerable<DiscordEmbedData> Embeds { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<DiscordEmbedData> |
Flags
Edit the flags of a message (only SUPPRESS_EMBEDS can currently be set/unset).
Declaration
[JsonPropertyName("flags ")]
public DiscordMessageFlags? Flags { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DiscordMessageFlags> |