Language

ActivitySchemaMapper Class

Definition

Extension methods for converting between Bot Framework Activity and CoreActivity/TeamsActivity.

public static class ActivitySchemaMapper
type ActivitySchemaMapper = class
Public Module ActivitySchemaMapper
Inheritance
ActivitySchemaMapper

Methods

Name Description
FromBotFrameworkActivity(Activity)

Converts a Bot Framework Activity to a CoreActivity.

FromBotFrameworkActivityInput(Activity)

Converts a Bot Framework Activity to an outbound CoreActivityInput.

FromCompatChannelAccount(ChannelAccount)

Converts a Bot Framework ChannelAccount to a Core ChannelAccount.

FromCompatConversationParameters(ConversationParameters)

Converts a Bot Framework ConversationParameters to a Core ConversationParameters.

TeamsGetTeamInfo(IActivity)

Gets the TeamInfo object from the current activity.

ToBotFrameworkActivity(CoreActivity)

Converts a CoreActivity to a Bot Framework Activity.

ToCompatChannelAccount(ChannelAccount)

Converts a ChannelAccount to a Bot Framework ChannelAccount.

ToCompatTeamsChannelAccount(ChannelAccount)

Converts a ChannelAccount to a TeamsChannelAccount.

ToCompatTeamsChannelAccount2(ChannelAccount)

Converts a ChannelAccount to a TeamsChannelAccount with all known properties.

ToCompatTeamsPagedMembersResult(PagedMembersResult)

Converts a Core PagedMembersResult to a Bot Framework TeamsPagedMembersResult.

Applies to