The community forums are in BETA and closed to the public.

Is there any way by which i can send message to a particular user of a channel?

Is there any way by which i can send message to a particular user of a channel? There are methods by which i can publish the messages to all the subscribers of a channel but i do not see any method to publish message to specific user of a channel.

Vipin,

There's no way to send a message to a specific subscriber of a channel. However, you could create a dedicated channel for each user. And then send to that channel when you need to target that user.

Each user would subscribe to two channels:

  • global channel - all users subscribe
  • user channel - single user subscribes

Thanks Dara that answer really helps. I do have one more question related to node.js. What is the best way to generate UUID in node.js?

Thanks Dara!

Dara can we use same UUID for PubNub instance across different applications?

Is there any way by which i can unsubscribe all the GCM registeration ids from a single channel in regards of mobile push gateway?


Comments to this discussion are now closed!