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