ActivitySchemaMapper.ToCompatChannelAccount(ChannelAccount) Method
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.
Converts a ChannelAccount to a Bot Framework ChannelAccount.
public static Microsoft.Bot.Schema.ChannelAccount ToCompatChannelAccount(this Microsoft.Teams.Core.Schema.ChannelAccount account);
static member ToCompatChannelAccount : Microsoft.Teams.Core.Schema.ChannelAccount -> Microsoft.Bot.Schema.ChannelAccount
<Extension()>
Public Function ToCompatChannelAccount (account As ChannelAccount) As ChannelAccount
Parameters
- account
- ChannelAccount
The conversation account to convert.
Returns
The equivalent channel account.