It's the latter - Apple will let the authorities access messages. Telegram will not. And simply blocking the Telegram website does not mean that the app won't continue to function in China. Which is why the authorities likely decided to launch a DDoS attack, so they could silence the human rights lawyers that were using it to communicate.