...
Open Microsoft Teams and sign in to your account.
Go to the chat in which you want to share a file.
Click on the "Attach" button in the chat input field.:
Select the file you want to share.
The file will be uploaded and added to the chat.:
You and other members of the chat can now access and collaborate on the file.
...
Open Microsoft Teams and sign in to your account.
Go to the channel in which you want to share a file.
Click on the "Files" tab in at the top of the channel.:
Click on the "Upload" button to upload a new file.:
Select the file you want to share.
The file will be uploaded and added to the channel's file library.:
You and other members of the channel can now access and collaborate on the file.
...