To refresh the Team chat, close Microsoft Teams, open Task Manager, and End Teams task from there as well. Reopen the app, and you will see the latest messages again.