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