Overview of Do Not Disturb Feature
The IM client SDK supports multi-dimensional and multi-level granular Do Not Disturb settings.
Dimensions of Do Not Disturb Settings in IM
The IM service supports multi-dimensional control over the Do Not Disturb feature. Developers can configure the Do Not Disturb feature at the App Key level, for specific business segments, and at the user level.
RC's server will follow the priority below to search for Do Not Disturb configurations and determine whether the current message should trigger a push notification: User-level settings > App Key-level settings.
Note
The client SDK provides full support for the following dimensions of Do Not Disturb settings starting from version 5.3.0.
Dimension of Do Not Disturb Configuration | Applicable Scenarios | Description | Client API | Server API |
---|---|---|---|---|
App Key-level setting | One-to-one chat and group chat | Set the default Do Not Disturb level for the entire application by App Key. By default, no settings are applied, which means all messages will trigger notifications. This level of configuration is not yet available in the Console. If needed, please submit a ticket. | The client SDK does not provide an API. | The server does not provide this API. |
User-level setting | One-to-one chat, group chat | User-level Do Not Disturb settings are as follows (priority from high to low):
When RC's server determines whether to send a push notification, if user-level Do Not Disturb configurations exist, it will follow the above priority to determine whether to send a notification. |
|