Set DND by subchannel
Set the do not disturb level for a specific community subchannel by calling subChannel.setNotificationLevel().
Set the DND level
Dart
final subChannel = CommunitySubChannel('<community-id>', '<subchannel-id>');
await subChannel.setNotificationLevel(
NoDisturbLevel.blocked,
(error) {
if (error == null) {
print('Subchannel DND level set');
}
},
);