Channel 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.
An INotificationTarget that represents a team channel.
public class Channel : Microsoft.TeamsFx.Conversation.INotificationTarget
type Channel = class
interface INotificationTarget
Public Class Channel
Implements INotificationTarget
- Inheritance
-
Channel
- Implements
Remarks
It's recommended to get channels from GetChannelsAsync(CancellationToken).
Constructors
Channel(TeamsBotInstallation, ChannelInfo) |
Constructor. |
Properties
Info |
Detailed channel information. |
Parent |
The parent TeamsBotInstallation where this channel is created from. |
Type |
The type of target. For channel it's always Channel. |
Methods
SendAdaptiveCard(Object, CancellationToken) |
Send an adaptive card message. |
SendMessage(String, CancellationToken) |
Send a plain text message. |