Language

ActivitySchemaMapper.ToCompatTeamsChannelAccount2(ChannelAccount) Method

Definition

Converts a ChannelAccount to a TeamsChannelAccount with all known properties.

public static Microsoft.Bot.Schema.Teams.TeamsChannelAccount ToCompatTeamsChannelAccount2(this Microsoft.Teams.Core.Schema.ChannelAccount account);
static member ToCompatTeamsChannelAccount2 : Microsoft.Teams.Core.Schema.ChannelAccount -> Microsoft.Bot.Schema.Teams.TeamsChannelAccount
<Extension()>
Public Function ToCompatTeamsChannelAccount2 (account As ChannelAccount) As TeamsChannelAccount

Parameters

account
ChannelAccount

The conversation account to convert.

Returns

The equivalent Teams channel account.

Applies to