Class DiscordInteractionResolvedData
Represents a discord Resolved Data Structure API model. Docs: https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-resolved-data-structure
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Core.Common.API.DataModels.Interaction
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordInteractionResolvedData : IEquatable<DiscordInteractionResolvedData>
Properties
| Improve this Doc View SourceChannels
The ids and partial Channel objects.
Declaration
[JsonPropertyName("channels")]
public IReadOnlyDictionary<ulong, DiscordChannelData> Channels { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<System.UInt64, DiscordChannelData> |
Remarks
Partial Channel objects only have id, name, type and permissions fields.
Members
The ids and partial Member objects.
Declaration
[JsonPropertyName("members")]
public IReadOnlyDictionary<ulong, DiscordGuildMemberData> Members { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<System.UInt64, DiscordGuildMemberData> |
Remarks
Partial Member objects are missing user, deaf and mute fields.
Messages
the ids and partial Message objects.
Declaration
[JsonPropertyName("messages")]
public IReadOnlyDictionary<ulong, DiscordMessageData> Messages { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<System.UInt64, DiscordMessageData> |
Roles
The ids and Role objects.
Declaration
[JsonPropertyName("roles")]
public IReadOnlyDictionary<ulong, DiscordGuildRoleData> Roles { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<System.UInt64, DiscordGuildRoleData> |
Users
The ids and User objects.
Declaration
[JsonPropertyName("users")]
public IReadOnlyDictionary<ulong, DiscordUserData> Users { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<System.UInt64, DiscordUserData> |