[**RongIMLib**](../README.md) *** [RongIMLib](../globals.md) / getConversationNotificationLevel # Function: getConversationNotificationLevel() > **getConversationNotificationLevel**(`options`): `Promise`\<[`RCResult`](../interfaces/RCResult.md)\<[`NotificationLevel`](../enumerations/NotificationLevel.md)\>\> 查询指定会话和频道免打扰 ## Parameters ### options [`IConversationIdentifier`](../interfaces/IConversationIdentifier.md) 会话信息 ## Returns `Promise`\<[`RCResult`](../interfaces/RCResult.md)\<[`NotificationLevel`](../enumerations/NotificationLevel.md)\>\> ## Description 查询通过 [setConversationNotificationLevel](../variables/setConversationNotificationLevel.md) 接口设置的指定会话和频道免打扰 1. Electron 平台,从 5.8.4 版本开始支持 [setConversationNotificationLevel](../variables/setConversationNotificationLevel.md) 接口。 ## Since 5.3.0 ## Example 查询指定会话和频道免打扰示例: ```js const options = { conversationType: RongIMLib.ConversationType.PRIVATE, targetId: 'targetId', } const conversation = await RongIMLib.getConversationNotificationLevel(options); console.info('查询指定会话和频道免打扰结果:', conversation); ```