@plasma-platform/service-chat

Chat service api

Usage no npm install needed!

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

README

version nextVersion downloads license dependency


Full documentation
install:
npm i @plasma-platform/service-chat -S

Short 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

Parameters

  • params (optional, default {})

getRoomsName

Get chat rooms of name

Parameters

  • roomName
  • params (optional, default {})

getRoomsLocales

Get chat rooms of name

Parameters

  • params (optional, default {})

getRoomsLocalesName

Get chat rooms of name

Parameters

  • roomName
  • params (optional, default {})

messages

Object with class service messages

Type: Object