Table of Contents
API reference

Class DiscordInteractionIngressContext

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

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

public sealed class DiscordInteractionIngressContext
Inheritance
DiscordInteractionIngressContext
Inherited Members

Remarks

Initializes a new instance of the DiscordInteractionIngressContext class.

Constructors

DiscordInteractionIngressContext(DiscordIngressRequest, DiscordInteractionIngressEnvelope)

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

Properties

Interaction

Gets the parsed interaction envelope.

Request

Gets the original ingress request, including the preserved raw request body used for signature verification.