Clear the setting of offline push notification type for the session.
connection.clearRemindTypeForConversation({conversationId: '123', type: 'singleChat'})
Conversation id.
Conversation type.
Gets the push translation language set by the user.
connection.getPushPerformLanguage()
Get the DND Settings of the current user.
connection.getSilentModeForAll()
Gets the DND setting of the session.
connection.getSilentModeForConversation({conversationId: 'conversationId', type: 'singleChat'})
Conversation id.
Conversation type.
Obtain the DND Settings of specified sessions in batches.
connection.getSilentModeForConversations({conversationList:[{id: 'userId', type: 'singleChat'}, {id: 'groupId', type: 'groupChat'}]})
Conversation list.
Set user push translation language.
connection.setPushPerformLanguage({language: 'EU'})
translation language
Set the DND Settings for the current login user.
connection.setSilentModeForAll({options: {paramType: 0, remindType: 'ALL'}})
Options object include paramType,remindType,duration,startTime,endTime.
Set the DND of the session.
connection.setSilentModeForConversation({conversationId: '100', type: 'singleChat', params: {paramType: 0, remindType: 'ALL'}})
The Conversation id. For one-to-one chat, conversation ID is to chat user's name. For group chat, conversation ID is group ID, different with group name. For chat room, conversation ID is chat room ID, different with chat room name. For help desk, it is same with one-to-one chat, conversation ID is also chat user's name.
Options object include paramType,remindType,duration,startTime,endTime.
Conversation type.
Generated using TypeDoc
SilentMode contains APIs for silent mode operations.