If you're inactive for six months or one year (depending on your settings), Telegram will delete all your data from its servers.