Hi there, You can send the message on user pipe. Think each user as pipe and all user connected to a channel as connected to trunk. So you want to send message to a user send message to user pipe. If want send message to all send to trunk or channel. To find out the user you can either store the username & pipe pubid hash or use
var chan = Ape.getChannelByName('test'); chan.userslist.each(function(user) { Ape.log(user.getProperty('pubid')); }); On Jul 1, 2:59 pm, George Blizer <g.bli...@gmail.com> wrote: > Hi! > > I'm developing system for our portal for sending direct messages. This > is a real time messaging about user's firends - actions, events and so > on. How can I send the private message from my PHP site core to user? > The broadcast messages - it's the bad way for me, because I'll send > short private messages to. > > Thanks! -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to ape-project@googlegroups.com To unsubscribe from this group, send email to ape-project+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/