Earlier quoted context omitted.
Without.
how is it legal. Even the law enforcement needs to provide a warrant in case they want to search my apartment.
Your employer pays for slack and it is a work related tool, just like your emails. If you want to have private communications then send a text. BTW they can also search your desk because, you know, it's not yours.