unmuteUser method
- {required String userId}
Unmutes User
.
Unmuted User
's messages are again shown to current User
.
Implementation
Future<void> unmuteUser({required String userId}) async {
sbLog.i(StackTrace.current, 'userId: $userId');
checkUnsupportedAction();
if (userId.isEmpty) {
throw InvalidParameterException();
}
await chat.apiClient.send(ChannelUserUnmuteRequest(
chat,
targetId: userId,
channelType: channelType,
channelUrl: channelUrl,
));
}