Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions msteams-platform/bots/bot-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Learn about bot events and activity handlers for messages, channels
ms.topic: article
ms.localizationpriority: medium
ms.owner: angovil
ms.date: 10/03/2024
ms.date: 06/05/2026
---

# Understand bot concepts
Expand Down Expand Up @@ -274,7 +274,7 @@ The following code provides an example of a bot activity for a channel team scop

* [SDK reference](/dotnet/api/microsoft.bot.builder.activityhandler.onmessageactivityasync?view=botbuilder-dotnet-stable&preserve-view=true)

* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/app-localization/csharp/Localization/Bots/LocalizerBot.cs#L20)
* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/app-localization/csharp/Localization/Bots/LocalizerBot.cs#L20)

```csharp

Expand All @@ -301,7 +301,7 @@ protected override async Task OnMessageActivityAsync(ITurnContext<IMessageActivi

* [SDK reference](/javascript/api/botbuilder-core/activityhandler?view=botbuilder-ts-latest&preserve-view=true#botbuilder-core-activityhandler-onmessage)

* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/app-localization/nodejs/server/bot/botActivityHandler.js#L25)
* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/app-localization/nodejs/server/bot/botActivityHandler.js#L25)

```javascript

Expand Down Expand Up @@ -333,7 +333,7 @@ The following code provides an example of bot activity for a one-to-one chat:

* [SDK reference](/dotnet/api/microsoft.bot.schema.activityextensions.removerecipientmention?view=botbuilder-dotnet-stable&preserve-view=true)

* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/app-hello-world/csharp/Microsoft.Teams.Samples.HelloWorld.Web/Bots/MessageExtension.cs#L19)
* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/app-hello-world/csharp/Microsoft.Teams.Samples.HelloWorld.Web/Bots/MessageExtension.cs#L19)

```csharp

Expand Down
4 changes: 2 additions & 2 deletions msteams-platform/bots/build-conversational-capability.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ms.topic: article
ms.localizationpriority: medium
ms.author: vikasalmal
ms.owner: angovil
ms.date: 03/16/2025
ms.date: 06/05/2026
---

# Send and receive messages
Expand Down Expand Up @@ -141,7 +141,7 @@ protected override async Task OnMessageActivityAsync(ITurnContext<IMessageActivi
# [TypeScript](#tab/typescript1)

- [SDK reference](/javascript/api/botbuilder/teamsactivityhandler?view=botbuilder-ts-latest&preserve-view=true#botbuilder-teamsactivityhandler-onmessage)
- [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/app-localization/nodejs/server/bot/botActivityHandler.js#L25)
- [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/app-localization/nodejs/server/bot/botActivityHandler.js#L25)

```typescript

Expand Down
4 changes: 2 additions & 2 deletions msteams-platform/bots/build-notification-capability.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Learn about sending notifications using a bot app
ms.topic: article
ms.localizationpriority: medium
ms.owner: angovil
ms.date: 10/03/2024
ms.date: 06/05/2026
---

# Send notifications
Expand Down Expand Up @@ -559,7 +559,7 @@ protected override async Task OnMessageActivityAsync(ITurnContext<IMessageActivi

- [SDK reference](/javascript/api/botbuilder-core/turncontext?view=botbuilder-ts-latest&preserve-view=true#botbuilder-core-turncontext-sendactivity)

- [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/app-localization/nodejs/server/bot/botActivityHandler.js#L36)
- [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/app-localization/nodejs/server/bot/botActivityHandler.js#L36)

```typescript

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Get All Channel and Chat Messages for Bot and Agents
description: Enable bots to receive all conversation messages without being @mentioned using RSC permissions. Read on webApplicationInfo or authorization section in manifest.
ms.topic: article
ms.localizationpriority: medium
ms.date: 03/16/2026
ms.date: 06/05/2026
---

# Receive all messages for bots and agents
Expand Down Expand Up @@ -289,7 +289,7 @@ protected override async Task OnMessageActivityAsync(ITurnContext<IMessageActivi
# [Node.js](#tab/nodejs)

- [SDK reference](/javascript/api/botbuilder/teamsactivityhandler?view=botbuilder-ts-latest#botbuilder-teamsactivityhandler-onmessage&preserve-view=true)
- [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/app-localization/nodejs/server/bot/botActivityHandler.js#L25)
- [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/app-localization/nodejs/server/bot/botActivityHandler.js#L25)

```javascript

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Learn how to create and handle a prompt starter and suggested actio
ms.topic: how-to
ms.localizationpriority: medium
ms.author: vikasalmal
ms.date: 4/7/2026
ms.date: 06/05/2026
---

# Create prompt suggestions
Expand Down Expand Up @@ -156,7 +156,7 @@ You must handle menu commands in your bot code as you handle any message from us

| **Sample name** | **Description** |**.NET** |**Node.js** |
|-----------------|-----------------|----------------|----------------|
| Prompt starters bot | Microsoft Teams Create Commands Menu to implement prompt starters in your bot's app manifest. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-commands-menu/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-commands-menu/nodejs) |
| Prompt starters bot | Microsoft Teams Create Commands Menu to implement prompt starters in your bot's app manifest. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-commands-menu/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-commands-menu/nodejs) |

## See also

Expand Down
5 changes: 2 additions & 3 deletions msteams-platform/bots/how-to/create-a-bot-commands-menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ms.topic: how-to
ms.localizationpriority: medium
ms.author: anclear
ms.owner: ginobuzz
ms.date: 03/11/2025
ms.date: 06/05/2026
---

# Create a commands menu
Expand Down Expand Up @@ -172,7 +172,7 @@ Bots in a group or channel respond only when they're mentioned `@botname` in a m

* [SDK reference](/dotnet/api/microsoft.bot.schema.activityextensions.removerecipientmention?view=botbuilder-dotnet-stable&preserve-view=true)

* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/app-hello-world/csharp/Microsoft.Teams.Samples.HelloWorld.Web/Bots/MessageExtension.cs#L19)
* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/app-hello-world/csharp/Microsoft.Teams.Samples.HelloWorld.Web/Bots/MessageExtension.cs#L19)

You can parse out the **\@Mention** portion of the message text using a static method provided with the Microsoft Bot Framework. It's a method of the `Activity` class named `RemoveRecipientMention`.

Expand Down Expand Up @@ -229,7 +229,6 @@ Following are the command menu best practices:
> [!NOTE]
> If you remove any commands from your manifest, you must redeploy your app to implement the changes. In general, any changes to the manifest require you to redeploy your app.


## Next step

> [!div class="nextstepaction"]
Expand Down
4 changes: 2 additions & 2 deletions msteams-platform/bots/how-to/get-teams-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Get Teams specific context for your bot, fetch user profile, get si
ms.topic: article
ms.localizationpriority: high
ms.owner: angovil
ms.date: 03/16/2026
ms.date: 06/05/2026
---
# Get Teams specific context for your bot

Expand Down Expand Up @@ -272,7 +272,7 @@ public class MyBot : TeamsActivityHandler

* [SDK reference](/javascript/api/botbuilder/teamsinfo?view=botbuilder-ts-latest&preserve-view=true#botbuilder-teamsinfo-getteamdetails)

* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/app-complete-sample/nodejs/server/dialogs/teams/fetchTeamInfoDialog.js#L21)
* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/app-complete-sample/nodejs/server/dialogs/teams/fetchTeamInfoDialog.js#L21)

```typescript
export class MyBot extends TeamsActivityHandler {
Expand Down
4 changes: 2 additions & 2 deletions msteams-platform/concepts/build-and-test/apps-localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: App Localization - Factors to Consider
description: Learn considerations for localizing your Microsoft Teams app, localize strings in your app manifest, and handle localized text submissions from your users.
ms.topic: article
ms.localizationpriority: medium
ms.date: 10/17/2024
ms.date: 06/05/2026
---
# Localize your app

Expand Down Expand Up @@ -153,7 +153,7 @@ If you provide localized versions of your application, the users respond with th

| Sample name | Description | .NET | Node.js |
|-------------|-------------|------|------|
| App Localization | This sample demonstrates how to implement localization for Microsoft Teams apps using Bots and Tabs. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-localization/csharp) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-localization/nodejs) |
| App Localization | This sample demonstrates how to implement localization for Microsoft Teams apps using Bots and Tabs. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/app-localization/csharp) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/app-localization/nodejs) |

## Next step

Expand Down
4 changes: 2 additions & 2 deletions msteams-platform/concepts/build-and-test/apps-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Package your app
description: Learn how to create, package, and upload Microsoft Teams app, icons for different Teams capabilities, and ensure your app is running and accessible through HTTPS.
ms.localizationpriority: high
ms.topic: article
ms.date: 05/08/2026
ms.date: 06/05/2026
---

# Teams app package
Expand Down Expand Up @@ -37,7 +37,7 @@ You can create an app and configure the app manifest through one of the followin

You can add bot, tab, message extensions, and other capabilities to your app by updating the app manifest with the required app capability. For more information, see [build app with app capabilities](../../get-started/get-started-overview.md#build-your-first-teams-app).

When you publish your app to the Microsoft Teams Store, ensure your app manifest references to the latest [app manifest schema](/microsoft-365/extensibility/schema/). For sample app manifest, see [Hello world sample app](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/app-hello-world/csharp/demo-manifest/app-hello-world.zip).
When you publish your app to the Microsoft Teams Store, ensure your app manifest references to the latest [app manifest schema](/microsoft-365/extensibility/schema/). For sample app manifest, see [Hello world sample app](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/app-hello-world/csharp/demo-manifest/app-hello-world.zip).

## App icons

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Configure default options for your app
description: Learn how to specify your Teams app's default install options, default capability for shared scopes, default landing capability for personal tab and bot apps, and block apps by default.
ms.topic: how-to
ms.localizationpriority: medium
ms.date: 03/05/2025
ms.date: 06/05/2026
---
# Configure default options for Teams app

Expand Down Expand Up @@ -325,7 +325,7 @@ To ensure that IT admins perform the relevant tasks, developers can block an app

:::image type="content" source="../../assets/images/manage-apps-status.png" alt-text="Screenshot shows an app blocked by publisher." lightbox="../../assets/images/manage-apps-status-expanded.png":::

The admins can do their due diligence about your app and they can read the [app documentation that you provide]() before they allow their users to use your app. For example, the admins can purchase the required licenses and distribute the licenses before allowing users to use the app. To allow the app with **Blocked by publisher** status, an admin can select **Allow** in the **[Manage apps](https://admin.teams.microsoft.com/policies/manage-apps)** page in Teams admin center.
The admins can do their due diligence about your app and they can read the [app documentation that you provide](appsource/prepare/submission-checklist.md) before they allow their users to use your app. For example, the admins can purchase the required licenses and distribute the licenses before allowing users to use the app. To allow the app with **Blocked by publisher** status, an admin can select **Allow** in the **[Manage apps](https://admin.teams.microsoft.com/policies/manage-apps)** page in Teams admin center.

:::image type="content" source="../../assets/images/manage-apps-allow.png" alt-text="Screenshot shows the Allow option for the app blocked by publisher." lightbox="../../assets/images/manage-apps-allow-expanded.png":::

Expand All @@ -338,7 +338,7 @@ If you don't want your app to be blocked by default, update the `defaultBlockUnt

|**Sample name** | **Description** | **.NET** | **Node.js** | **Manifest**|
|----------------|-----------------|--------------|----------------|-----------|
| Hello world | A Microsoft Teams Hello World sample app built with .NET/C# that demonstrates essential features like tabs, bots, and messaging extensions for seamless interaction within the Teams environment. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-hello-world/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-hello-world/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-hello-world/csharp/demo-manifest/app-hello-world.zip)|
| Hello world | A Microsoft Teams Hello World sample app built with .NET/C# that demonstrates essential features like tabs, bots, and messaging extensions for seamless interaction within the Teams environment. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/app-hello-world/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/app-hello-world/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/app-hello-world/csharp/demo-manifest/app-hello-world.zip)|

## Next step

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Add Location Capability with TeamsJS
description: Learn how to use Teams JavaScript client library and location APIs to utilize location capabilities using code snippets and samples.
ms.topic: article
ms.localizationpriority: high
ms.date: 12/13/2022
ms.date: 06/05/2026
---

# Integrate location capabilities
Expand Down Expand Up @@ -182,7 +182,7 @@ You must ensure to handle these errors appropriately in your Teams app. The foll

|Sample name | Description | .NET | Node.js | Manifest
|----------------|-----------------|--------------|--------------|--------------|
| App check-in current location | This sample showcases a Microsoft Teams bot that allows users to check in their current location and view all previous check-ins seamlessly. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-checkin-location/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-checkin-location/nodejs) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/app-checkin-location/csharp/demo-manifest/App-checkin-location.zip) |
| App check-in current location | This sample showcases a Microsoft Teams bot that allows users to check in their current location and view all previous check-ins seamlessly. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/app-checkin-location/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/app-checkin-location/nodejs) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/app-checkin-location/csharp/demo-manifest/App-checkin-location.zip) |

## See also

Expand Down
4 changes: 2 additions & 2 deletions msteams-platform/includes/bots/teams-bot-samples.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Teams bot samples
description: With this learning module, learn about Teams samples for Bot Framework, which includes working samples demonstrating the functionality.
localization_priority: Normal
ms.topic: overview
ms.date: 02/26/2025
ms.date: 06/05/2026
---

## Code sample
Expand All @@ -17,4 +17,4 @@ For complete working samples demonstrating the functionality, see the following
|Teams file upload | This bot sample for Teams demonstrates file upload capabilities using Bot Framework v4, enabling users to upload files and view inline images within chats. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-file-upload/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-file-upload/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-file-upload/python) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-file-upload/csharp/demo-manifest/bot-file-upload.zip) |
| Dialog (referred as task module in TeamsJS v1.x) | This sample app demonstrate how to use Dialogs (referred as task modules in TeamsJS v1.x) using Bot Framework v4 | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-task-module/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-task-module/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-task-module/python) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-task-module/csharp/demo-manifest/bot-task-module.zip) |
| Start a new thread in a channel | This app demonstrates how to start a conversation thread in a specific Teams channel using Bot Framework v4. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-initiate-thread-in-channel/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-initiate-thread-in-channel/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-initiate-thread-in-channel/python) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-initiate-thread-in-channel/csharp/demo-manifest/bot-initiate-thread-in-channel.zip) |
| Teams app localization | This sample demonstrates how to implement localization for Microsoft Teams apps using Bots and Tabs. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-localization/csharp) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-localization/nodejs) | NA |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-localization/csharp/demo-manifest/app-localization.zip)
| Teams app localization | This sample demonstrates how to implement localization for Microsoft Teams apps using Bots and Tabs. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/app-localization/csharp) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/app-localization/nodejs) | NA |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/app-localization/csharp/demo-manifest/app-localization.zip)
Loading