To retrieve old teams chat, click on your profile picture and choose the saved option. This works only for non-deleted chats.