Hello !
Just to confirm, what type of Teams account are you using ? A personal account (with your Microsoft account) or a work account (provided by your company/school) ?
Typically, expired files in Teams (same for OneDrive and SharePoint) cannot be recovered once they have expired.
If you can, you'll have to ask the sender to send the file again.
Please let me know if you have any other question !