There is no graph call to fetch the location of the files folder on the channel.
To get the channels from a team we have a graph API call https://graph.microsoft.com/beta/teams/{teamId}/channels
I would like to fetch the sharepoint location where the files of the channel are stored. There is no direct way in Graph API for the same.
There is a Graph API call to get all the drive items in a group. Since a team is also a group the teamid works fine for the graph call
https://graph.microsoft.com/beta/groups/{team-id}/drive/root/children
However the results returned by the graph call contain only the channel name not the channelId. Therefore there is no way to map a drive item to a channel because channel names can be modified.
Is there any way to fetch the channel file folder location in Graph?