Validation for Voice note on WhatsApp

Hi Team, how can we handle this?
Currently : if users send voice note on WhatsApp during chat conversation, Live Agent/Other flow is getting trigger.
Expectation : We have to give validation message.