Edit Message
Chat UI SDK supports message editing, allowing users to edit their own successfully sent messages.
tip
- This feature requires the cloud storage service for direct and group channel messages.



Usage Limitations
- Message editing currently supports only text messages and reference messages in direct channels and group channels.
- The default time window for editing a message is 1 day (24 hours).
Enable Message Editing
Message editing is disabled by default in Chat UI SDK. You can enable it through global configuration. Note: You must configure this setting before initialization, or the feature will not take effect.
Java
NCChatUIConfig.featureConfig().enableEditMessage(true);