You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5. If you are in Live mode, select **Copy to live**.
39
-
7. Set up a webhook to respond to new message events:
40
-
1. Go to the **Settings** tab of the TalkJS dashboard.
41
-
2. Enable the `message.sent` option in the **Webhooks** section of the TalkJS dashboard.
42
-
3. Start ngrok with `ngrok http 3000`.
43
-
4. Add the ngrok URL to **Webhook URLs** in the TalkJS dashboard, including the `updateReplyCount` path: `https://<YOUR-URL>.ngrok.io/updateReplyCount`
15
+
1. Clone or download the project.
16
+
2. Run `npm install` to install dependencies.
17
+
3. Run `npm start` to start the server.
18
+
4. Remove the default "Reply" message action:
19
+
1. Go to the **Roles** tab of the TalkJS dashboard.
20
+
2. Select the "default" role.
21
+
3. In **Actions and permissions** > **Built-in message actions**, set **Reply** to **None**.
22
+
5. Add a "Reply" action button to the user message styling of your theme following [the tutorial instructions](https://talkjs.com/resources/how-to-build-a-reply-thread-feature-with-talkjs/#add-the-reply-button-to-your-theme)
23
+
6. Add a "Back" action button to the chat header of your theme following [the tutorial instructions](https://talkjs.com/resources/how-to-build-a-reply-thread-feature-with-talkjs/#add-the-back-button-to-your-theme)
24
+
7. Set up a webhook to respond to new message events:
25
+
1. Go to the **Settings** tab of the TalkJS dashboard.
26
+
2. Enable the `message.sent` option in the **Webhooks** section of the TalkJS dashboard.
27
+
3. Start ngrok with `ngrok http 3000`.
28
+
4. Add the ngrok URL to **Webhook URLs** in the TalkJS dashboard, including the `updateReplyCount` path: `https://<YOUR-URL>.ngrok.io/updateReplyCount`
0 commit comments