Search Results for

    Show / Hide Table of Contents

    Class DiscordInteractionResolved

    Represents a discord Resolved Data Structure API model. Docs: https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-resolved-data-structure

    Inheritance
    System.Object
    DiscordInteractionResolved
    Implements
    IDiscordInteractionResolved
    System.IEquatable<DiscordInteractionResolved>
    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.Rest.Models.Interaction
    Assembly: Color-Chan.Discord.Rest.dll
    Syntax
    public class DiscordInteractionResolved : IDiscordInteractionResolved, IEquatable<DiscordInteractionResolved>

    Constructors

    | Improve this Doc View Source

    DiscordInteractionResolved(DiscordInteractionResolvedData)

    Initializes a new DiscordInteractionResolved

    Declaration
    public DiscordInteractionResolved(DiscordInteractionResolvedData data)
    Parameters
    Type Name Description
    DiscordInteractionResolvedData data

    The data needed to create the DiscordInteractionResolved.

    Properties

    | Improve this Doc View Source

    Channels

    The ids and partial Channel objects.

    Declaration
    public IReadOnlyDictionary<ulong, IDiscordChannel> Channels { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyDictionary<System.UInt64, IDiscordChannel>
    Remarks

    Partial Channel objects only have id, name, type and permissions fields.

    | Improve this Doc View Source

    Members

    The ids and partial Member objects.

    Declaration
    public IReadOnlyDictionary<ulong, IDiscordGuildMember> Members { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyDictionary<System.UInt64, IDiscordGuildMember>
    Remarks

    Partial Member objects are missing user, deaf and mute fields.

    | Improve this Doc View Source

    Messages

    the ids and partial Message objects.

    Declaration
    public IReadOnlyDictionary<ulong, IDiscordMessage> Messages { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyDictionary<System.UInt64, IDiscordMessage>
    | Improve this Doc View Source

    Roles

    The ids and Role objects.

    Declaration
    public IReadOnlyDictionary<ulong, IDiscordGuildRole> Roles { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyDictionary<System.UInt64, IDiscordGuildRole>
    | Improve this Doc View Source

    Users

    The ids and User objects.

    Declaration
    public IReadOnlyDictionary<ulong, IDiscordUser> Users { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyDictionary<System.UInt64, IDiscordUser>

    Implements

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