Every country has their own definition of "illegal" content, but things like CSAM are illegal everywhere, and that's one area where Telegram never really bothered to take action.
The arrest warrant has been out for a while, so I doubt Durov got himself arrested by accident. He probably has a plan, or at least good lawyers.
He provided the platform.
Why do I bring that line of reasoning up? Because an actually exhaustive traversal of 2nd-6th order effects renders everyone complicit in something, especially in the presence of things criminalizing not looking for things.
You should never count yourself out of being a complicit party for something, and realize that if you're going to impose a penalty on a group you consider a "them"; it is likely only a matter of time invested enumerating your effects in the world to make evident something they did has been enabled by you. Even if only by you not making the choice to do something about them.
Bad things will happen. We can't prevent them all. And trying to zero any class of bad thing has so many onock on effects, that even the most trivial sounding solutions need be met with strictest scritiny to figure out what they will break.