Anti-Spam Chat App function


I am building a chat app, and I am trying to integrate an anti spam function. I am thinking of a send cooldown.

All the best

Hi @Kiyan ,

You could hide the send icon based on future time, this cooldown time can be stored in read status collection as it is related to conversation and user collection.

1 Like

Thankyou for your response!

I am trying to create a 5 second cooldown, though I only found a way to create a 1 minute cooldown. Can you explain the steps a bit further?

you can make a Visual Condition on the Send Button = Logged In User > Conversation > Last Send Message was After 1 Mins Ago

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.