# wx.updateVoIPChatMuteConfig(Object object)

Start from base library version 2.7.0. Please remaining backward compatible.

Updates the mute settings of the real-time voice chat.

# Parameters

# Object object

Attribute Type Default Required Description
muteConfig Object Yes Sets whether to enable mute.
success function No The callback function for a successful API call
fail function No Callback function for failed API call
complete function No Callback function used when API call completed (always executed whether call succeeds or fails)

object.muteConfig is composed as follows

Attribute Type Default Required Description
muteMicrophone Boolean false No Specifies whether to mute the microphone.
muteEarphone Boolean false No Specifies whether to mute the headset.