Table of Contents
API reference

Constructor DiscordInteractionIngressContext

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

DiscordInteractionIngressContext(DiscordIngressRequest, DiscordInteractionIngressEnvelope)

Provides the transport-neutral context for a Discord interaction delivered over HTTP ingress.

public DiscordInteractionIngressContext(DiscordIngressRequest request, DiscordInteractionIngressEnvelope interaction)

Parameters

request DiscordIngressRequest

The validated ingress request.

interaction DiscordInteractionIngressEnvelope

The parsed interaction envelope.

Remarks

Initializes a new instance of the DiscordInteractionIngressContext class.