Search Results for

    Show / Hide Table of Contents

    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 Source

    AllowedMentions

    Allowed mentions for the message.

    Declaration
    [JsonPropertyName("allowed_mentions")]
    public IEnumerable<DiscordAllowedMentionsData> AllowedMentions { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<DiscordAllowedMentionsData>
    | Improve this Doc View Source

    Attachments

    Attached files to keep.

    Declaration
    [JsonPropertyName("attachments")]
    public IEnumerable<DiscordAttachmentData> Attachments { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<DiscordAttachmentData>
    | Improve this Doc View Source

    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>
    | Improve this Doc View Source

    Content

    The message contents (up to 2000 characters).

    Declaration
    [JsonPropertyName("content")]
    public string Content { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    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>
    | Improve this Doc View Source

    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>
    | Improve this Doc View Source

    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>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX