I want to stop a message from getting sent in the chat based on some criteria, but I can’t find any new posts or topics that include info that is still relevant.
If you’re using the new chat, just use the .OnIncomingMessage callback to set the TextChatMessageProperties.Text to a whitespace character and return it.
2 Likes
For those who are clueless on what whitespace to use (Like me for ~15 minutes), just set it to a space. That’s it. Then it’ll block the message.