No, your data isn’t deleted if you’re banned or temporarily blocked from Telegram. In these cases, your data will still be there if your account is restored. If you aren’t sure why you were banned or blocked, you can reach out to Telegram support.