Search Results for

    Show / Hide Table of Contents

    Enum InteractionResponseType

    The response type for an IDiscordInteraction.

    Namespace: Discord
    Assembly: Discord.Net.Core.dll
    Syntax
    public enum InteractionResponseType : byte
    Remarks

    After receiving an interaction, you must respond to acknowledge it. You can choose to respond with a message immediately using ChannelMessageWithSource or you can choose to send a deferred response with DeferredChannelMessageWithSource. If choosing a deferred response, the user will see a loading state for the interaction, and you'll have up to 15 minutes to edit the original deferred response using Edit Original Interaction Response. You can read more about Response types Here.

    Fields

    Name Description
    ApplicationCommandAutocompleteResult

    Respond with a set of choices to a autocomplete interaction.

    ChannelMessageWithSource

    Respond to an interaction with a message.

    DeferredChannelMessageWithSource

    ACK an interaction and edit a response later, the user sees a loading state.

    DeferredUpdateMessage

    For components: ACK an interaction and edit the original message later; the user does not see a loading state.

    Modal

    Respond by showing the user a modal.

    Pong

    ACK a Ping.

    UpdateMessage

    For components: edit the message the component was attached to.

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.9.0