Two drug dealers who offered crack cocaine and heroin to Shrewsbury users via text message have been locked up.