Share via


Activity.CreateMessageActivity Method

Definition

Creates an instance of the Activity class as an IMessageActivity object.

public static Microsoft.Bot.Schema.IMessageActivity CreateMessageActivity ();
static member CreateMessageActivity : unit -> Microsoft.Bot.Schema.IMessageActivity
Public Shared Function CreateMessageActivity () As IMessageActivity

Returns

The new message activity.

Applies to