ActivitySchemaMapper.FromCompatChannelAccount(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 Bot Framework ChannelAccount to a Core ChannelAccount.
public static Microsoft.Teams.Core.Schema.ChannelAccount FromCompatChannelAccount(this Microsoft.Bot.Schema.ChannelAccount account);
static member FromCompatChannelAccount : Microsoft.Bot.Schema.ChannelAccount -> Microsoft.Teams.Core.Schema.ChannelAccount
<Extension()>
Public Function FromCompatChannelAccount (account As ChannelAccount) As ChannelAccount
Parameters
- account
- ChannelAccount