Goto Home

Notification Events

1. comment-created

2. comment-updated

3. connection-request

4. connection-accepted

5. user-followed

6. reel-liked

7. comment-liked

8. reel-shared

9. reel-super-liked

10. message-received ⚡️

{ "title": "New message from John Doe", "body": "Hi, how are you ?", "data": { "event": "message-received", "message": { "_id": "68c15d2bf57d9ada6cf9b3cb", "user": { "_id": "34c15d2bf57d9ada6cf9bb24", "username": "john.doe", "name": "John Doe", "photo": "url", }, "isGroup": false, "chat": "34c15d2bf57d9ada6cf9bb24", "reel?": "34c15d2bf57d9ada6cf9bb24", "content": "Hi, how are you ?", "files": [ { "url": "https://example.com/image.jpg" } ], "at": "2025-09-11T10:23:00Z", } } }

11. chat-join-request

12. chat-request-accepted

13. chat-admin-access-granted

14. chat-admin-access-removed

15. chat-access-removed

16. chat-joined

17. event-access-granted

18. event-access-rejected

19. event-joined

20. reward-unlocked

21. group-chat-created

Important Note

All fcm notifications payload (when saved in db) are of this form:

interface Payload { title: string description: string data: { notification: string event: NotificationEvent } }

Here is the sample example:

{ "title": "Your reel got a new like", "body": "A user raj.example has liked your reel", "data": { "notification": "68c15d2bf57d9ada6cf9b3cb", "event": "reel-liked" } }

Links

Goto Home