ActivitySchemaMapper.FromBotFrameworkActivity(Activity) 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 Bot Framework Activity to a CoreActivity.
public static Microsoft.Teams.Core.Schema.CoreActivity FromBotFrameworkActivity(this Microsoft.Bot.Schema.Activity activity);
static member FromBotFrameworkActivity : Microsoft.Bot.Schema.Activity -> Microsoft.Teams.Core.Schema.CoreActivity
<Extension()>
Public Function FromBotFrameworkActivity (activity As Activity) As CoreActivity
Parameters
- activity
- Activity
The Bot Framework activity to convert.
Returns
The equivalent core activity.