Search Results for

    Show / Hide Table of Contents

    Class InteractionContext

    Represents a context for an interaction.

    Inheritance
    System.Object
    BaseContext
    InteractionContext
    Inherited Members
    BaseContext.Interaction
    BaseContext.Client
    BaseContext.Guild
    BaseContext.Channel
    BaseContext.User
    BaseContext.Member
    BaseContext.ApplicationCommandsExtension
    BaseContext.Token
    BaseContext.InteractionId
    BaseContext.CommandName
    BaseContext.Locale
    BaseContext.GuildLocale
    BaseContext.Type
    BaseContext.Services
    BaseContext.CreateResponseAsync(InteractionResponseType, DiscordInteractionResponseBuilder)
    BaseContext.CreateModalResponseAsync(DiscordInteractionModalBuilder)
    BaseContext.EditResponseAsync(DiscordWebhookBuilder)
    BaseContext.DeleteResponseAsync()
    BaseContext.FollowUpAsync(DiscordFollowupMessageBuilder)
    BaseContext.FollowUpAsync(String)
    BaseContext.EditFollowupAsync(UInt64, DiscordWebhookBuilder)
    BaseContext.EditFollowupAsync(UInt64, String)
    BaseContext.DeleteFollowupAsync(UInt64)
    BaseContext.GetFollowupMessageAsync(UInt64)
    BaseContext.GetOriginalResponseAsync()
    Namespace: DisCatSharp.ApplicationCommands
    Assembly: DisCatSharp.ApplicationCommands.dll
    Syntax
    public sealed class InteractionContext : BaseContext

    Properties

    | Improve this Doc View Source

    ResolvedAttachments

    Gets the attachments in the command parameters, if applicable.

    Declaration
    public IReadOnlyList<DiscordAttachment> ResolvedAttachments { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<DiscordAttachment>
    | Improve this Doc View Source

    ResolvedChannelMentions

    Gets the channels mentioned in the command parameters.

    Declaration
    public IReadOnlyList<DiscordChannel> ResolvedChannelMentions { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<DiscordChannel>
    | Improve this Doc View Source

    ResolvedRoleMentions

    Gets the roles mentioned in the command parameters.

    Declaration
    public IReadOnlyList<DiscordRole> ResolvedRoleMentions { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<DiscordRole>
    | Improve this Doc View Source

    ResolvedUserMentions

    Gets the users mentioned in the command parameters.

    Declaration
    public IReadOnlyList<DiscordUser> ResolvedUserMentions { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<DiscordUser>

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems