Search Results for

    Show / Hide Table of Contents

    Class DiscordAllowedMentionsData

    Represents a discord Allowed Mentions Structure API model. Docs: https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mentions-structure

    Inheritance
    Object
    DiscordAllowedMentionsData
    Implements
    IEquatable<DiscordAllowedMentionsData>
    Inherited Members
    System.Object.Equals(System.Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Object.ToString()
    Namespace: Color_Chan.Discord.Core.Common.API.DataModels
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public class DiscordAllowedMentionsData : IEquatable<DiscordAllowedMentionsData>

    Properties

    | Improve this Doc View Source

    Allowed

    an array of allowed mention types to parse from the content.

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

    AllowedRoles

    Array of role_ids to mention (Max size of 100).

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

    AllowedUsers

    Array of role_ids to mention (Max size of 100).

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

    ShouldReplyMentionsAuthor

    For replies, whether to mention the author of the message being replied to (default false).

    Declaration
    [JsonPropertyName("replied_user")]
    public bool ShouldReplyMentionsAuthor { get; set; }
    Property Value
    Type Description
    Boolean

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX