MessageUpdateActivity.FromActivity(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.
Convenience method to create a MessageUpdateActivity from a CoreActivity.
public static Microsoft.Teams.Apps.MessageUpdateActivity FromActivity(Microsoft.Teams.Core.Schema.CoreActivity activity);
static member FromActivity : Microsoft.Teams.Core.Schema.CoreActivity -> Microsoft.Teams.Apps.MessageUpdateActivity
Public Shared Function FromActivity (activity As CoreActivity) As MessageUpdateActivity
Parameters
- activity
- CoreActivity
The CoreActivity to convert.
Returns
A MessageUpdateActivity instance.