muteTeam method Null safety
- String teamId,
- NIMTeamMessageNotifyTypeEnum notifyType
The Do Not Disturb settings for group messages
Specify the notification mode for the group.
teamId
The group ID
notifyType
Specify the notification mode (Notify Group Members of All Group Messages, Notify Group Members of Messages Sent by Admin, or not Notify)
Implementation
Future<NIMResult<void>> muteTeam(
String teamId, NIMTeamMessageNotifyTypeEnum notifyType) async {
return _platform.muteTeam(teamId, notifyType);
}