Language

ActivitySchemaMapper.ToCompatChannelAccount(ChannelAccount) Method

Definition

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.

Applies to