Use the ‘publish’ function to send messages to any channel. You need a valid ‘publish’ key to successfully publish a message. The message is sent to all the clients subscribe to that channel.In following example, message published is “Hello!” and receiving channel is “555444”.
pusheo.publish({
channel: "555444",
message: "Hello!"
});