getClientByUserId method
Implementation
MtprotoClient? getClientByUserId(int clientUserId) {
for (var i = 0; i < clients.length; i++) {
MtprotoClient tdlibClient = clients[i];
if (tdlibClient.client_tg_user_id == clientUserId) {
return tdlibClient;
}
}
return null;
}