API reference
Class DiscordInteractionIngressEnvelope
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress.Interactions
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
Represents the parsed top-level Discord interaction payload received over HTTP ingress.
public sealed class DiscordInteractionIngressEnvelope
- Inheritance
-
DiscordInteractionIngressEnvelope
- Inherited Members
Remarks
Initializes a new instance of the DiscordInteractionIngressEnvelope class.
Constructors
- DiscordInteractionIngressEnvelope(InteractionType, JObject, ulong?, ulong?, string?)
Represents the parsed top-level Discord interaction payload received over HTTP ingress.
Properties
- ApplicationId
Gets the application identifier when available.
- InteractionId
Gets the interaction identifier when available.
- IsPing
Gets a value indicating whether this payload is a Discord ping challenge.
- Payload
Gets the raw parsed JSON payload.
- Token
Gets the interaction token when available.
- Type
Gets the interaction type.