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
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 SourceDiscordInteractionResolved(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 SourceChannels
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.
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.
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> |
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> |
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
System.IEquatable<T>