Class InteractionContext
Represents a context for an interaction.
Inherited Members
Namespace: DisCatSharp.ApplicationCommands
Assembly: DisCatSharp.ApplicationCommands.dll
Syntax
public sealed class InteractionContext : BaseContext
Properties
| Improve this Doc View SourceResolvedAttachments
Gets the attachments in the command parameters, if applicable.
Declaration
public IReadOnlyList<DiscordAttachment> ResolvedAttachments { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordAttachment> |
ResolvedChannelMentions
Gets the channels mentioned in the command parameters.
Declaration
public IReadOnlyList<DiscordChannel> ResolvedChannelMentions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordChannel> |
ResolvedRoleMentions
Gets the roles mentioned in the command parameters.
Declaration
public IReadOnlyList<DiscordRole> ResolvedRoleMentions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordRole> |
ResolvedUserMentions
Gets the users mentioned in the command parameters.
Declaration
public IReadOnlyList<DiscordUser> ResolvedUserMentions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordUser> |