Public methods in chatMessage.php