Zalo Friend Trigger
AI-generatedSummary
Listen for Zalo friend events
Inputs
- eventTypes (required) — Friend events to listen for
Output shape
no body — success/failure only
Starts listening for friend events and returns a close function to stop listening; errors are propagated as node errors.
Examples
Example 1: Trigger on Zalo friend request
eventTypes set to Friend Requests (value 2)
Example 2: Monitor multiple friend event types
eventTypes includes REQUEST and any additional types defined in the node