Table of Contents
API reference

Interface IDiscordInteractionIngressHandler

Namespace
DisCatSharp.Hosting.AspNetCore.Ingress.Interactions
Assembly
DisCatSharp.Hosting.AspNetCore.dll

Handles Discord interactions received over incoming HTTP.

public interface IDiscordInteractionIngressHandler

Remarks

Discord expects the initial response to arrive within roughly three seconds. Return a deferred response when the interaction requires more work, then complete follow-up work with the interaction token through the standard outbound interaction webhook APIs within fifteen minutes.

Methods

HandleAsync(DiscordInteractionIngressContext, CancellationToken)

Attempts to handle an incoming Discord interaction.