+ Start a Discussion

How to calculate chat time with any other user i.e the difference between chat start time and chat end time. How can we achieve this

I must calculate chat start time and if the chat continues more than 5 mins and will popup a survey link in the chat. If the chat time is greater than 5 minutes the link for survey should popup in the chatter.