updateChatMuteStatusList static method
Updates the mute status of a chat Lists identified by its JID List.
This method is used to update the mute status of a chat identified by its JID List.
The jidList
parameter specifies the List of JID of the chat to be updated.
The muteStatus
parameter indicates whether the chat should be muted or unmuted.
If set to true
, the chat will be muted. If set to false
, the chat will be unmuted.
Returns a Future<void>
that completes when the mute status update is performed successfully.
Example usage:
await Mirrorfly.updateChatMuteStatusList(jidList: ['example@domain.com', 'example1@domain.com], muteStatus: true);
Implementation
static updateChatMuteStatusList(
{required List<String> jidList, required bool muteStatus}) {
return FlyChatFlutterPlatform.instance
.updateChatMuteStatusList(jidList, muteStatus);
}