Channels Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Channel definitions. The various "support" methods come from: https://learn.microsoft.com/en-us/azure/bot-service/bot-service-channels-reference?view=azure-bot-service-4.0
public static class Channels
type Channels = class
Public Class Channels
- Inheritance
-
Channels
Fields
| Alexa |
Alexa channel. |
| Console |
Console channel. |
| Cortana |
Cortana channel. |
| Directline |
Direct Line channel. |
| DirectlineSpeech |
Direct Line Speech channel. |
|
Email channel. |
|
| Emulator |
Emulator channel. |
|
Facebook channel. |
|
| Groupme |
Group Me channel. |
| Kik |
Kik channel. |
| Line |
Line channel. |
| M365 |
M365 channel. |
| M365Copilot | |
| M365CopilotSubChannel |
M365 Copilot Teams Subchannel |
| Msteams |
MS Teams channel. |
| Omni |
Omni channel. |
| Outlook |
Outlook channel. |
| Skype |
Skype channel. |
| Skypeforbusiness |
Skype for Business channel. |
| Slack |
Slack channel. |
| Sms |
SMS (Twilio) channel. |
| Telegram |
Telegram channel. |
| Telephony |
Telephony channel. |
| Test |
Test channel. |
| Twilio |
Twilio channel. |
| Webchat |
WebChat channel. |
Methods
| HasMessageFeed(ChannelId) |
Determine if a Channel has a Message Feed. |
| MaxActionTitleLength(ChannelId) |
Maximum length allowed for Action Titles. |
| SupportsAnimationCard(ChannelId) |
Determines if the specified channel supports Animation Cards. Returns true if Animation Cards are supported; otherwise, false. |
| SupportsAudioCard(ChannelId) |
Determines whether the specified channel supports audio cards.
Returns |
| SupportsCardActions(ChannelId, Int32) |
Determine if a number of Card Actions are supported by a Channel. |
| SupportsCreateConversation(ChannelId) |
Returns channel support for CreateConversation. |
| SupportsDeleteActivity(ChannelId) |
Returns channel support for DeleteActivity. |
| SupportsReceiptCard(ChannelId) |
Determines whether the specified channel supports receipt cards. Returns true if the channel supports receipt cards; otherwise, false. Returns false for Alexa, GroupMe, Microsoft Teams, and Twilio channels; true for others. |
| SupportsSuggestedActions(ChannelId, Int32, String) |
Determine if a number of Suggested Actions are supported by a Channel. |
| SupportsSuggestedActions(ChannelId, Int32) |
Determine if a number of Suggested Actions are supported by a Channel. |
| SupportsThumbnailCard(ChannelId) |
Determines whether the specified channel supports thumbnail cards. Returns true if the channel supports thumbnail cards; otherwise, false. |
| SupportsUpdateActivity(ChannelId) |
Returns channel support for UpdateActivity. |
| SupportsVideoCard(ChannelId) |
Determines if the specified channel supports video cards. |