From 26dee41ac952e2bfe922284680f685dc2f4bbda1 Mon Sep 17 00:00:00 2001 From: Blag Date: Thu, 14 Mar 2024 23:41:57 -0400 Subject: [PATCH] Add missing Webhook triggers Added message.created and message.updated --- lib/nylas/resources/webhooks.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/nylas/resources/webhooks.rb b/lib/nylas/resources/webhooks.rb index 42e7bd0d..7e6c04ec 100644 --- a/lib/nylas/resources/webhooks.rb +++ b/lib/nylas/resources/webhooks.rb @@ -19,6 +19,8 @@ module WebhookTrigger GRANT_EXPIRED = "grant.expired" MESSAGE_SEND_SUCCESS = "message.send_success" MESSAGE_SEND_FAILED = "message.send_failed" + MESSAGE_CREATED = "message.created" + MESSAGE_UPDATED = "message.updated" MESSAGE_OPENED = "message.opened" MESSAGE_LINK_CLICKED = "message.link_clicked" THREAD_REPLIED = "thread.replied"