ActivitySchemaMapper.ToCompatTeamsChannelAccount2(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 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.