You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: samples/53.teams-messaging-extensions-action-preview/README.md
+2-17Lines changed: 2 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,7 @@
3
3
4
4
Bot Framework v4 Conversation Bot sample for Teams.
5
5
6
-
This bot has been created using [Bot Framework](https://dev.botframework.com). This sample shows
7
-
how to incorporate basic conversational flow into a Teams application. It also illustrates a few of the Teams specific calls you can make from your bot.
6
+
This Messaging Extension has been created using [Bot Framework](https://dev.botframework.com). It shows how to create a simple card based on parameters entered by the user from a Task Module.
8
7
9
8
## Prerequisites
10
9
@@ -50,21 +49,7 @@ the Teams service needs to call into the bot.
50
49
51
50
You can interact with this bot by sending it a message, or selecting a command from the command list. The bot will respond to the following strings.
52
51
53
-
1. **Show Welcome**
54
-
- **Result:** The bot will send the welcome card for you to interact with
55
-
- **Valid Scopes:** personal, group chat, team chat
56
-
2. **MentionMe**
57
-
- **Result:** The bot will respond to the message and mention the user
58
-
- **Valid Scopes:** personal, group chat, team chat
59
-
3. **MessageAllMembers**
60
-
- **Result:** The bot will send a 1-on-1 message to each member in the current conversation (aka on the conversation's roster).
61
-
- **Valid Scopes:** personal, group chat, team chat
62
-
63
-
You can select an option from the command list by typing ```@TeamsConversationBot``` into the compose message area and ```What can I do?``` text above the compose area.
64
-
65
-
### Avoiding Permission-Related Errors
66
-
67
-
You may encounter permission-related errors when sending a proactive message. This can often be mitigated by using `MicrosoftAppCredentials.TrustServiceUrl()`. See [the documentation](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-proactive-message?view=azure-bot-service-4.0&tabs=csharp#avoiding-401-unauthorized-errors) for more information.
52
+
Click the Messaging Extension icon in the Compose Box's Messaging Extension menu.
Copy file name to clipboardExpand all lines: samples/53.teams-messaging-extensions-action-preview/src/main/java/com/microsoft/bot/sample/teamsactionpreview/Application.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
* This class also provides overrides for dependency injections. A class that extends the
19
19
* {@link com.microsoft.bot.builder.Bot} interface should be annotated with @Component.
Copy file name to clipboardExpand all lines: samples/53.teams-messaging-extensions-action-preview/src/main/java/com/microsoft/bot/sample/teamsactionpreview/TeamsMessagingExtensionsActionPreviewBot.java
0 commit comments