forked from microsoft/BotBuilder-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove adaptive cards ref from teams samples (microsoft#2296)
* Remove AdaptiveCards reference from TeamsTaskModule sample * Remove AdaptiveCard reference from TeamsMessagingExtensionsSearchAuthConfig
- Loading branch information
Eric Dahlvang
authored
Apr 24, 2020
1 parent
b8c0b5d
commit 54559a6
Showing
6 changed files
with
78 additions
and
37 deletions.
There are no files selected for viewing
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
21 changes: 21 additions & 0 deletions
21
...p_dotnetcore/52.teams-messaging-extensions-search-auth-config/Resources/adaptiveCard.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
{ | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"version": "1.0", | ||
"type": "AdaptiveCard", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "You have been signed out.", | ||
"isSubtle": false | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"type": "Action.Submit", | ||
"title": "Close" | ||
} | ||
] | ||
} |
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
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
29 changes: 29 additions & 0 deletions
29
samples/csharp_dotnetcore/54.teams-task-module/Resources/adaptiveCard.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
{ | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"version": "1.0", | ||
"type": "AdaptiveCard", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "Enter Text Here", | ||
"weight": "bolder", | ||
"isSubtle": false | ||
}, | ||
{ | ||
"type": "Input.Text", | ||
"id": "usertext", | ||
"spacing": "none", | ||
"isMultiLine": "true", | ||
"placeholder": "add some text and submit" | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"type": "Action.Submit", | ||
"title": "Submit" | ||
} | ||
] | ||
} |
3 changes: 1 addition & 2 deletions
3
samples/csharp_dotnetcore/54.teams-task-module/TeamsTaskModule.csproj
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