Closed ririko5834 closed 3 years ago
Btw, is it possible to mark current conversation as resolved (and send transcript to the user's email) using this wrapper?
Hello!
In your example you are using the method like this: websiteConversations.readMessages(websiteId, sessionId, data)
, this is wrong. Please check the README, the prototype is websiteConversations.readMessages(websiteId, sessionId, from, origin, fingerprints)
.
Yes you can resolve the conversation via websiteConversations.setState
. Check the README for more details.
It's possible to send a transcript via API (https://docs.crisp.chat/api/v1/#website-website-conversation-post-3) but not via this wrapper. You can do a PR if you want.
Ok, I think that transcript method should be added to this wrapper
Hi, I created chatbot and I want to mark messages that are commands (includes specific keywords) as read, to prevent crisp from sending me email notifications when user used that command and bot replied when I am offline.
I have this code in message:send event:
but I am getting this in console
What I did wrong?