@plasma-platform/tm-service-chat

Chat service api

Usage no npm install needed!

<script type="module">
  import plasmaPlatformTmServiceChat from 'https://cdn.skypack.dev/@plasma-platform/tm-service-chat';
</script>

README

Documentation

Table of Contents

ChatService

  • See: //chat.template-help.com/api/

Chat Micro Service API that you may adopt for your needs

Parameters

  • url string service url
  • token (string | null) user access token if available (optional, default null)

getRooms

Get chat rooms

getRoomsName

Get chat rooms of name

getRoomsLocales

Get chat rooms of name

getRoomsLocalesName

Get chat rooms of name

messages

Object with class service messages