Created
November 15, 2020 17:04
-
-
Save expiscornovus/7244920e53fbda108f29ada29e66564b to your computer and use it in GitHub Desktop.
Terms of Use adaptive card
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | |
"type": "AdaptiveCard", | |
"version": "1.2", | |
"body": [ | |
{ | |
"type": "TextBlock", | |
"size": "Medium", | |
"weight": "Bolder", | |
"id": "Title", | |
"text": "Welcome to the team!" | |
}, | |
{ | |
"type": "ColumnSet", | |
"id": "MentionColumnSet", | |
"columns": [ | |
{ | |
"type": "Column", | |
"id": "MentionColumn", | |
"width": "stretch", | |
"items": [ | |
{ | |
"type": "TextBlock", | |
"id": "MentionTextBlock2", | |
"spacing": "None", | |
"text": "How are you <at>@{outputs('Get_user_-_User_Id')?['body/displayName']}</at>?", | |
"isSubtle": true, | |
"wrap": true | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"text": "The services that Microsoft provides to you are subject to the following Terms of Use (\"TOU\"). Microsoft reserves the right to update the TOU at any time without notice to you. The most current version of the TOU can be reviewed by clicking on the \"Terms of Use\" hypertext link located at the bottom of our Web pages.", | |
"type": "TextBlock", | |
"wrap": true | |
}, | |
{ | |
"type": "TextBlock", | |
"text": "Check out the full [Terms of Use](https://www.microsoft.com/en-us/legal/intellectualproperty/copyright/default)" | |
} | |
], | |
"actions": [ | |
{ | |
"type": "Action.Submit", | |
"title": "Agree" | |
} | |
], | |
"msteams": { | |
"entities": [ | |
{ | |
"type": "mention", | |
"text": "<at>@{outputs('Get_user_-_User_Id')?['body/displayName']}</at>", | |
"mentioned": { | |
"id": "8:orgid:@{triggerOutputs()?['body/id']}", | |
"name": "@{outputs('Get_user_-_User_Id')?['body/displayName']}" | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment