How to prevent a chat from being sent

Hello, developers. I thought this problem would be easy to overcome, but ROBLOX is in the middle of switching the way chatting works and changing the way you can stop a message from being sent. I’ve looked at the docs and couldn’t find anything recent enough.

I would really like to have some replies.

Any leads atleast to help me with this issue?

I found this thread. It might help with your situation.