问题
is there a possibility to get Name/Id/Url of tabs in Teams-Channel? If no, are there Plans to provide it through Graph API? ETA?
Thanks in advance
回答1:
I can't give you a timeline as I am not on that team, but I do know the team are actively working on an API for accessing tabs. I expect you will hear some news during Ignite.
回答2:
The api was just released! checkout the documentation
here is a sample
POST /beta/teams/{id}/channels/{id}/tabs
{
"name": "My Contoso Tab",
"teamsAppId": "06805b9e-77e3-4b93-ac81-525eb87513b8",
"configuration": {
"entityId": "2DCA2E6C7A10415CAF6B8AB6661B3154",
"contentUrl": "https://www.contoso.com/Orders/2DCA2E6C7A10415CAF6B8AB6661B3154/tabView",
"websiteUrl": "https://www.contoso.com/Orders/2DCA2E6C7A10415CAF6B8AB6661B3154",
"removeUrl": "https://www.contoso.com/Orders/2DCA2E6C7A10415CAF6B8AB6661B3154/uninstallTab"
}
}
来源:https://stackoverflow.com/questions/52001079/channel-tabs-in-teams-through-graph-api