API reference
Event UnknownWebhookEventReceived
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress.WebhookEvents
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
Fired when Discord delivers a signed webhook event that does not yet have a typed event surface.
public event AsyncEventHandler<DiscordWebhookEventDispatcher, UnknownWebhookEventArgs> UnknownWebhookEventReceived
Returns
- AsyncEventHandler<DiscordWebhookEventDispatcher, UnknownWebhookEventArgs>
- Your library to write discord bots in C# with focus on always providing access to the latest discord features.
Remarks
Subscribe to this event to handle newer webhook event types before the package ships a typed payload model for them.