Chat API

Chat Text Link Demo

This demo shows you how to use monitor tag and create your custom text link. In this example, mylivechat ID is 68268000. You need to replace it with your own mylivechat ID in your own code.

  1. Use chatapi.aspx to embed monitor tag and hide button/link/box.
  2. Use MyLiveChat.HasReadyAgents method to determine whether the agent is online.
  3. Use MyLiveChat_OpenDialog() method to show the chat dialog or offline message window.