Skip to content

Add missing message.deleted Webhook trigger#746

Open
Kile wants to merge 1 commit into
nylas:mainfrom
Kile:missing-webhook-trigger
Open

Add missing message.deleted Webhook trigger#746
Kile wants to merge 1 commit into
nylas:mainfrom
Kile:missing-webhook-trigger

Conversation

@Kile

@Kile Kile commented Jun 19, 2026

Copy link
Copy Markdown

Hi there. I noticed that your WebhookTrigger enum doesn't include message.deleted which, while left out in a bunch of lists of possible triggers in the docs, still exist as a possible trigger:
https://developer.nylas.com/docs/reference/notifications/messages/message-deleted/

This isn't a huge thing at all but I am quite obsessed with types so it would be cool if this was in the enum and I didn't have to do

type WebhookTriggersWithDeleted = WebhookTriggers | 'message.deleted';

License

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant