Споделяне чрез


Additional channels

APPLIES TO: SDK v4

You can make your bot accessible in channels in two ways:

  1. Azure AI Bot Service channels: make your bot available in channels with the Azure AI Bot Service. This works for all supported languages.

  2. Channel adapters: make your bot available in channels with an adapter. The channel adapter translates between the Bot Framework activity schema and the native schema of a channel. The SDK, Botkit, and Bot Builder Community repos provide various channel adapters, which are language specific.

    1. The Bot Framework SDK repo lists many of the available adapters, including Azure AI Bot Service channels and channel adapters.
    2. The Botkit repo includes channel adapters, which they call platform adapters. Botkit is an open source developer tool for building chat bots, apps and custom integrations for major messaging platforms.
    3. The Bot Builder Community repositories include channel adapters. View the README for each repo to see which channel adapters have been developed.

Some channels are accessible through Azure AI Bot Service or through an adapter. It's up to you when to use a channel versus an adapter.

Currently available adapters

Each repository is responsible for maintaining the list of adapters and channels they support.

When to use a channel adapter

  1. Azure AI Bot Service doesn't support the channel you want.
  2. Security and compliance requirements of your deployment dictate that you can't rely on an outside service.
  3. Depth of features that you need in a particular channel may not be supported.

When to use an Azure channel

  1. You require cross-channel compatibility, such that your bot should work on more than one of the available channels.
  2. Built-in support. Microsoft maintains, patches, and seamlessly services each channel for you each time a third-party makes updates.
  3. You want access to additional exclusive Microsoft channels, like quickly growing Microsoft Teams.
  4. If you want to rely on a GUI interface to enable additional channels for your bot.