Inters store forsvarsprofil Alessandro Bastoni har forlænget sin kontrakt med klubben til sommeren i 2024.