Skip to main content
Learn how to enable your users to mute notifications for certain conversations You can silence one-on-one and/or group conversations for a specific amount of time using the Mute functionality. Aside from that, you can include a Push Notifications section in your apps’ settings. Your users can use this feature to turn off Push Notifications for certain chats or to opt-out of receiving Push Notifications altogether.

Mute or Unmute Chats

Chat comprises anything related to messages like:
  1. New Message (Text, media, or Custom messages like Polls)
  2. Edited Message
  3. Deleted Message
  4. Response in threads

Mute Chats

You can specify the UIDs and/or GUIDs to be muted. You can mute chats for these conversations for a specific amount of time. This functionality uses the callExtension() method provided by CometChat SDK.

Unmute Chats

Used to unmute the chats for certain conversations before the mentioned time during muting. This functionality uses the callExtension() method provided by CometChat SDK.

Mute or Unmute Calls

You can mute the notifications for one-on-one or group calls. This works for Default calling (video or audio calls) offered by CometChat.

Mute Calls

You can specify the UIDs and/or GUIDs to be muted. You can mute calls for these conversations for the said amount of time. This functionality uses the callExtension() method provided by CometChat SDK.

Unmute Calls

Used to unmute calls for certain conversations before the mentioned time during muting. Used to unmute the calls for certain conversations before the mentioned time during muting.

User Settings

Apart from the feature to mute/unmute a set of UIDs or GUIDs using the above APIs, apps can have push notifications according to the user settings. The following user settings can be set:

Save User Settings

The User settings object needs to be submitted as follows. All the fields are mandatory:
This functionality uses the callExtension() method provided by CometChat SDK.

Fetch User Settings

Fetches all the user settings that are saved by the user. This also returns the list of muted UIDs and GUIDs along with the said time for muting. This functionality uses the callExtension() method provided by CometChat SDK.