unMuteAllMembers method
- String groupId
Unmutes all group members. Only the group owner and admins can call this method.
Param groupId The group ID.
Returns None.
Throws Exception description, see ChatError.
Implementation
Future<void> unMuteAllMembers(String groupId) async {
try {
Map req = {'groupId': groupId};
Map result = await platform_interface.Client.instance.groupManager
.callNativeMethod(ChatMethodKeys.unMuteAllMembers, req);
ChatError.hasErrorFromResult(result);
} catch (e) {
rethrow;
}
}