Thiago Motta has hung up his boots after an 18-year playing career, and thanked the fans who supported him throughout his time at PSG.