Browse by Bot Framework Version

Teams bots generally use the Bot Framework SDK (the alternative is to handle all the REST calls to the Bot Channel Service in your code).

Note that Bot Framework SDK v4 is not backward compatible with v3, which is no longer supported. Because of these breaking changes, the bot samples are tagged as follows:

  • Bot Framework 4.6+: Bot uses Bot Framework SDK 4.6 or greater, which provides supported access to Teams bot activities (strongly recommended)
  • Bot Framework 4.0-4.5: Bot uses Bot Framework SDK 4.0-4.5, before it officially supported Teams, so Teams messages are handled directly in the code
  • Bot Framework 4 Beta: Bot uses Bot Framework SDK 4.0-4.5 with a deprecated beta of early Teams support. This may work but is not recommended
  • Bot Framework 3.x: Bot uses the previous Bot Framework SDK which is not forward compatible with the current version. These bots should continue to work because the underlying REST calls did not change, but the SDK is no longer supported and is not recommended for new projects

To learn more about how to use these samples, please refer to our getting started section.

Samples

All
4.6+
4.0 - 4.5
4 Beta
3.x
No results found.