It's certainly IS anticompetitive.
Anticompetitive practices aren't illegal though. They are only illegal if a company has a monopoly or has significant market power.
Now, the question we have to ask is is Slack a near monopoly in it's marketspace? Maybe. I could see the argument go either way.