Fork me on GitHub

An example of sending a chat message from the logged in user.

In the example code below, vertoConf is an instance of $.verto.conf as created in subscribing to the live array.

var sendConferenceChat = function(message) {
  // The second argument is a message type, completely arbitrary, can be used
  // classify different kinds of messages.
  vertoConf.sendChat(message, "message");