Skip to content

Files

Latest commit

 

History

History

how-to-add-a-create_new_chat-button-in-talkjs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

How to add a 'Create a new chat' button

This is the example project for the tutorial How to add a 'Create new chat' button in TalkJS.

Demo GIF

Running this project

Follow these steps to run this project:

  1. Clone or download this project.

  2. Open create-new-chat.js and update the TalkJS App ID and the TalkJS REST API key:

    const appId = "<Add Your TalkJS APP ID Here>"
  3. Start a web server in this directory and open the link in the browser. For example, you can use VS Code's Live Server extension, or use Python to create a quick web server:

    python -m http.server