webwhiz-ai / webwhiz

WebWhiz allows you to create an AI chatbot that knows everything about your product and can instantly respond to your customer's queries.
https://www.webwhiz.ai/
GNU Affero General Public License v3.0
883 stars 148 forks source link

Mark message as unread. #71

Closed aravindwarrier closed 10 months ago

aravindwarrier commented 10 months ago

In this request, a new API is exposed: {{base_url}}/chatbot/session/{{sessionId}}/unread that can take in a payload that looks like:

{
    "ts": "2023-09-04T03:38:25.372+00:00"
}

This will mark all the messages in that session after this time as unread.

Also all the messages in a session will be marked as read when generating a new answer.

CLAassistant commented 10 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: aravindwarrier
:x: aravindts
You have signed the CLA already but the status is still pending? Let us recheck it.