[英]How can send Team ID and Channel id through adaptive card from ms teams app
我正在 ms 团队中创建一个应用程序。 我想动态发送团队 ID 和频道 ID,但是当我在参数中添加团队 ID 时,链接按钮不起作用。 我阅读了很多文档,但找不到任何发送动态值的方法
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.2",
"body": [
{
"type": "Container",
"items": [
{
"type": "ActionSet",
"actions": [
{
"type": "Action.OpenUrl",
"url": "https://9056-39-42-13-187.ngrok.io/projects/new?teamId={teamId}",
"title": "Link"
}
],
}
],
}
],
}
请按照以下步骤动态发送 Team id 和 Channel id:-
文本
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.2",
"body": [
{
"type": "Container",
"items": [
{
"type": "ActionSet",
"actions": [
{
"type": "Action.OpenUrl",
"url": "https:// https://8840-103-132-3-2.ngrok.io/projects/new?teamId=xxxxx-xxxxx-xxxxx",
"title": "Link"
}
],
}
],
}
],
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.