Table of Contents

Constructor WebhookEventAttribute

Namespace
BpNexT.Actions.Abstractions
Assembly
BpNexT.Actions.Abstractions.dll

WebhookEventAttribute(string)

Names a webhook event the module can emit. Put it on an IWebhookEvent payload type (exactly one per type, the preferred form), or on the module class for events emitted via the string-based EmitAsync(string, object, CancellationToken) overload (one attribute per event).

public WebhookEventAttribute(string name)

Parameters

name string

Remarks

Event names are lowercase dotted identifiers like invoice.created (letters, digits, ., _, -); loading fails on invalid or duplicate names.