[英]Is it possible to create a message in a Microsoft Teams Channel via Graph API using an Adaptive Card format (seems limited to Text and HTML)
I'm attempting to create a message in a Teams channel via the Graph API. 我正在尝试通过Graph API在Teams频道中创建一条消息。 Teams now supports adaptive cards but it seems we are still limited to either plain text or HTML when creating the message via Graph API (either v1 or beta).
团队现在支持自适应卡,但是在通过Graph API(v1或beta)创建消息时,我们似乎仍然限于纯文本或HTML。 Anyone found a way to create this message using Adaptive Cards?
有人找到了使用自适应卡创建此消息的方法吗? https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/itembody
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/itembody
Via Microsoft Graph, no, not yet. 通过Microsoft Graph,不,尚未。 But via the Bot Framework APIs, yes, and it's available today.
但是,通过Bot Framework API,是的,并且今天就可以使用。
More info here: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/cards/cards#cards-in-bots 此处的更多信息: https : //docs.microsoft.com/zh-cn/microsoftteams/platform/concepts/cards/cards#cards-in-bots
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.