returns a service available for Chat
service | string | the service name |
object | the object with the service methods |
const backend = $$("ch").getService("backend");
Services are major blocks of inner logic of the widget. Their methods can be called directly as well as
customized.
Chat has access to the following services: