Chat Message Feature

You can do this by adding a true/false parameter to the logged-in user. Call this true/false parameter “Typing”

Add a countdown timer to your chat message screen and set it to 1 second. Change the visibility to only visible if the input is not empty. Set this to update the logged-in user’s typing value to “true”. Add another countdown timer set to 1 second and only visible if the input IS empty. Set this to update the logged-in user’s typing to “false”.

Make the lottie file a list of chatroom users with a filter where email is not equal to the logged-in user’s email. Set this to only visible if current user > typing > is true.

2 Likes