request(route, method, params = {}, options = {}) Makes a cross domain ajax request to the chat server
route String: Chat API routemethod String: Request methodparams Object: Request parameters objectoptions Object: Options to be added to the requestreturn Promise{Object}: Response for the ajax request
getApiVersion() Retrieves the used REST API version
return String: API version
getFullPath(route) Retrieves the full route path
route String: Full route URLreturn String: Full route path