Currently, messages longer than 1000 characters can be sent without any restriction in chats. This can lead to a poor user experience as excessively long messages disrupt the readability of the chat interface. To enhance user interaction and readability, the app should enforce a maximum message length of 1000 characters.
Expected Behavior:
Users should be restricted from sending messages that exceed 1000 characters in length.
Implement validation to notify users when attempting to send messages longer than the maximum allowed character limit.
Description:
Currently, messages longer than 1000 characters can be sent without any restriction in chats. This can lead to a poor user experience as excessively long messages disrupt the readability of the chat interface. To enhance user interaction and readability, the app should enforce a maximum message length of 1000 characters.
Expected Behavior: