Channel Tabs in Teams through Graph-API

蓝咒 提交于 2021-01-29 10:47:52

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!