API Conventions

The API functions are specified in the following form:

some_method({foo: <string>,bar: <timestamp>}) -> {result: <string>}

Which means:

  • the callable method some_method (with websock unichat endpoint also available as someMethod)
  • it takes 2 named arguments, foo of type string and bar of type timestamp which all are explained in detail later
  • it returns single named value, result, which is a string.