Table of Contents
API reference

Class DiscordWebhookEventModelRegistry

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

Resolves the typed payload model associated with a documented Discord webhook event type.

public static class DiscordWebhookEventModelRegistry
Inheritance
DiscordWebhookEventModelRegistry
Inherited Members

Remarks

This registry is used by contributor-facing tooling and by SuggestedDataModelType to connect raw event names to the package's typed webhook DTOs.

Methods

GetPayloadType(string?)

Gets the recommended payload model type for a webhook event.