Channel(TeamsBotInstallation, ChannelInfo) Constructor
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.
Constructor.
public Channel (Microsoft.TeamsFx.Conversation.TeamsBotInstallation parent, Microsoft.Bot.Schema.Teams.ChannelInfo info);
new Microsoft.TeamsFx.Conversation.Channel : Microsoft.TeamsFx.Conversation.TeamsBotInstallation * Microsoft.Bot.Schema.Teams.ChannelInfo -> Microsoft.TeamsFx.Conversation.Channel
Public Sub New (parent As TeamsBotInstallation, info As ChannelInfo)
Parameters
- parent
- TeamsBotInstallation
The parent TeamsBotInstallation where this channel is created from.
- info
- ChannelInfo
Detailed channel information.
Exceptions
Throws if provided parameter is null.
Remarks
It's recommended to get channels from GetChannelsAsync(CancellationToken).