Language

ActivitySchemaMapper.FromCompatChannelAccount(ChannelAccount) Method

Definition

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

Returns

Applies to