Manage Offline Message Storage Configuration
The instant messaging service supports modifying offline message configurations at the App level.
Offline message configurations are only applicable to one-to-one chat and group chat. Chatrooms and ultra groups do not support offline messages due to their business characteristics, hence there are no offline message configurations for them.
Understanding Offline Messages
Offline messages? refer to messages received when a user is offline. The RC server automatically retains messages received during the offline period for users, with a default retention period of 7 days. If the client goes online within 7 days, the server will directly send the offline messages to the receiving end. If the client does not go online within 7 days, the server will discard the expired messages.
Not all conversation types in the instant messaging service support offline messages:
- Supports offline messages: one-to-one chat, group chat, system message
- Does not support offline messages: chatroom, ultra group
App-Level Offline Message Configuration
You can modify the following App-level offline message storage settings:
- Offline message storage duration. You can modify the storage duration in the RC Console by navigating to Configuration > Chat settings > Basic features > One-to-One and Group Chat > Set Offline Message Storage Duration. Messages received by the target user while offline will be saved in the offline messages, with a default storage period of 7 days. The user will receive these messages upon their next login. If adjustments are needed, you can set it here, with a range of 1 to 7 days. This setting is only effective for one-to-one chat, group chat, and system message conversation types.
- Group offline message storage duration. When the target user is offline, group messages received will be stored in the offline messages, with a default storage period of 7 days. The user can retrieve these messages upon their next login. If this setting is not configured, the offline message storage duration for groups will be controlled by the "Set Offline Message Storage Duration" setting. If this setting is configured, the offline storage duration for group messages will follow this configuration.
- Group offline message storage quantity. By default, all group messages within the last 7 days are stored. You can submit a ticket to modify this configuration. Changes to this configuration will affect all group chat sessions under the App.