An API that connects multiple Microsoft services, enabling data access and automation across platforms
Teams uses the so-called resource-specific consent model to restrict access, you can read about it here: https://learn.microsoft.com/en-us/microsoftteams/platform/graph-api/rsc/resource-specific-consent
It also depends on the type of app. While the RSC model supports both delegate and application permissions, when it comes to sending channel messages, only the latter are supported. See the article above for more details.