question

mahmoud-mahajna avatar image
mahmoud-mahajna asked ·

Push notifications subscription

Hi,

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

Thanks,

Mahmoud
topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

igor-bebin avatar image
igor-bebin answered ·
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,
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered ·
I think you are talking about Glip posts notifications. Currently you have to receive all the posts and do the filtering in your code.
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.