Moderation
#
Mute ChatTo Mute the chat use below method which disables the notification for the chat when the new messages are received or any action on chat.
Status | Description | Type | Required |
---|---|---|---|
TO_JID | JID of the To User | JID String | true |
IS_MUTED | true for muting the chat, false for removing | Boolean | true |
#
Get Mute StatusTo determine if a particular user is muted, use the method below. It returns the mute status of the specified user, if the user is muted return 1 else return 0.
Status | Description | Type | Required |
---|---|---|---|
TO_JID | JID of the To User | JID String | true |