With the current Implementation, MessageInput only exposes the content of the input to the parent component with OnSendMessage prop. therefore, the parent is not aware of the state of the input or it's content until the user sends a message.
This behaviour limits certain features, such as implementing controlled input, or real time sanitization.