Download file from Microsoft Teams

What is the best way to download or export a file from Microsoft Teams (Chat)?


The easier way is: select the person > click in files in the up side menu > right click in the file name you want > click download.

For more comple stuff you can use Sharepoint website or even Microsoft Flow (really nice for using with UIPath).

In this website you can get even more information aboit that:

good luck!

Thanks for the response.

What I actually need done is for a robot to click a link that opens a file in Teams (under File, not Chat as previously noted). I need to export this file to a designated directory.

I was having a hard time identifying elements within the Teams window to click anything to be able to download the file.

Hence, my question on what is the best way to download the file.