Skip to content

Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!

License

haacked/Microsoft-Teams-Samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft Teams Samples

NOTE: These samples are designed to help understand Microsoft Teams platform capabilities and scenarios. If you are looking for production ready apps then please visit App Templates for Microsoft Teams

Sample Name Description C# TypeScript
1 Hello World Microsoft Teams hello world sample app. View View
Sample Name Description C# TypeScript JavaScript
1 Personal tabs Sample app showing custom personal Tab with ASP. NET Core MVC, Razor Yeoman Generator
2 Personal tab quick-start Sample personal tab quick-start app. View View
3 Personal tab with SSO quick-start Sample personal tab with SSO hello world app. View View
4 Channel and group tabs Sample app showing custom group and channel Tab with ASP. NET Core MVC, Razor Yeoman Generator
5 Channel and group tab quick-start Sample channel and group tab hello world app. View View
6 Channel and group tab with SSO quick-start Sample channel and group tab with SSO hello world app. View View
7 SPFx Tab Sample app showing Microsoft Teams tabs using SharePoint Framework View
8 Tab SSO Microsoft Teams sample app for tabs Azure AD SSO View View ,Teams Toolkit

Bots samples (using the v4 SDK)

NOTE: Visit the Bot Framework Samples repository to view Microsoft Bot Framework v4 SDK task-focused samples for C#, JavaScript, TypeScript, and Python.

Sample Name Description .NET Core JavaScript Python
1 Teams Conversation Bot quick-start Messaging and conversation event handling hello world. View
2 Teams Conversation Bot SSO quick-start Messaging and conversation event handling hello world with SSO. View
3 Teams Conversation Bot Messaging and conversation event handling. View View View
4 Message Reactions Demonstrates how to create a simple bot that responds to Message Reactions View View
5 Authentication with OAuthPrompt Authentication and basic messaging in Bot Framework v4. View View View
6 Teams File Upload Exchanging files with a bot in a one-to-one conversation. View View View
7 Task Module Demonstrating how to retrieve a Task Module and values from cards in it, for a Messaging Extension. View View View
8 Start new thread in a channel Demonstrating how to create a new thread in a channel. View View View

Additional samples

Sample Name Description .NET Core JavaScript Python
1 Proactive Messaging Sample to highlight solutions to two challenges with building proactive messaging apps in Microsoft Teams. View

Messaging Extensions samples (using the v4 SDK)

NOTE: Visit the Bot Framework Samples repository to view Microsoft Bot Framework v4 SDK task-focused samples for C#, JavaScript, TypeScript, and Python.

Sample Name Description .NET Core JavaScript Python
1 Messaging extensions - search quick-start Hello world Messaging Extension that accepts search requests and returns results. View
2 Messaging extensions - search Messaging Extension that accepts search requests and returns results. View View View
3 Messaging extensions - action quick-start Hello world Messaging Extension that accepts parameters and returns a card. Also, how to receive a forwarded message as a parameter in a Messaging Extension. View
4 Messaging extensions - action Messaging Extension that accepts parameters and returns a card. Also, how to receive a forwarded message as a parameter in a Messaging Extension. View View View
5 Messaging extensions - auth and config Messaging Extension that has a configuration page, accepts search requests and returns results after the user has signed in. View View
6 Messaging extensions - action preview Demonstrates how to create a Preview and Edit flow for a Messaging Extension. View View View
7 Link unfurling Messaging Extension that performs link unfurling. View View View

Additional samples

Sample Name Description .NET Core JavaScript Python
1 Link unfurling demo of Reddit Messaging Extension with Link Unfurling Samples for Reddit Links View
Sample Name Description C# TypeScript
1 Connectors Sample Office 365 Connector generating notifications to teams channel. View View
2 Generic connectors sample Sample code for a generic connector that's easy to customize for any system which supports webhooks. View
3 Outgoing Webhooks Samples to create "Custom Bots" to be used in Microsoft Teams. View View
Sample Name Description C# TypeScript
1 Resource Specific Consent (RSC) This sample illustrates how you can use Resource Specific Consent (RSC) to call Graph APIs. . View
2 Graph API Channel Life Cycle This sample illustrates how you can use Graph API Channel Life Cycle to call Graph APIs. . View

Scenario specific samples

Sample Name Description C# TypeScript
1 Task Modules Sample app showing off the Teams Task Module, a way to invoke custom code from a bot, a tab, or both! View View
2 Authentication Sample illustrating seamless inline authentication for Microsoft Teams apps. View
3 Complete Samples A template for building complex bots (SDK V3) for Microsoft Teams. View View
4 Meetings Extensibility Microsoft Teams meeting extensibility sample: token passing View
5 Meeting Content Bubble Bot Microsoft Teams meeting extensibility sample for iteracting with Content Bubble Bot in-meeting View

Submitting issues

The issue tracker is for issues, in other words, bugs and suggestions. If you have a question, feedback or suggestions, please check our support page.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

About

Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published