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