Skip to content

Commit

Permalink
Python SDK - Add missing Webhook triggers (#357)
Browse files Browse the repository at this point in the history
Added message_bouce_detected, message_created, message_updated, message_opened, message_link_clicked, thread.replied
  • Loading branch information
atejada authored May 3, 2024
1 parent 9d70ed4 commit 873363f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nylas/models/webhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ class WebhookTriggers(str, Enum):
GRANT_EXPIRED = "grant.expired"
MESSAGE_SEND_SUCCESS = "message.send_success"
MESSAGE_SEND_FAILED = "message.send_failed"
MESSAGE_BOUNCE_DETECTED = "message.bounce_detected"
MESSAGE_CREATED = "message.created"
MESSAGE_UPDATED = "message.updated"
MESSAGE_OPENED = "message.opened"
MESSAGE_LINK_CLICKED = "message.link_clicked"
THREAD_REPLIED = "thread.replied"


@dataclass_json
Expand Down

0 comments on commit 873363f

Please sign in to comment.