Twitter employees learn about being laid off by losing access to Slack
twitter.com
twitter.com
I will let myself out
Ignoring the motivation and all the context around the lay-offs, it's probably the best way if you're going to piss of hundreds of people with access to various bits of the system.
There was an announcement posted somewhere else that the Twitter employees got: either you get an internal email that you're staying, or an external/private one that you're gone.