Have you seen the MS Graph documentation for talking to Teams?
https://docs.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0
You just need to consume this in your Mendix application.
https://docs.mendix.com/howto/integration/consume-a-rest-service
Hope this helps