Push notifications subscription

  • 1
  • Question
  • Updated 1 year ago

Can I filter the posts push notifications and get events of predefined groups only?


Photo of Mahmoud Mahajna

Mahmoud Mahajna

  • 170 Points 100 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Igor Bebin

Igor Bebin, Official Rep

  • 840 Points 500 badge 2x thumb
Hi Mahmoud,

For the moment there is no such option. You can subscribe to posts in ALL groups where your User is a participant and then filter out required notifications on Client side. Event filter, in this case, would be /restapi/v1.0/glip/posts

Also we are working on notifications via WebSocket, please wait for the announcement. 

Photo of Tyler Long

Tyler Long, Official Rep

  • 9,336 Points 5k badge 2x thumb
I think you are talking about Glip posts notifications. Currently you have to receive all the posts and do the filtering in your code.