Push notifications subscription

  • 1
  • Question
  • Updated 5 months ago
Hi,

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

Thanks,

Mahmoud
Photo of Mahmoud Mahajna

Mahmoud Mahajna

  • 170 Points 100 badge 2x thumb

Posted 5 months ago

  • 1
Photo of Igor Bebin

Igor Bebin, Official Rep

  • 700 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. 

Thanks,
Photo of Tyler Long

Tyler Long, Official Rep

  • 7,722 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.