Share via


IActivity.AsMessageActivity Method

Definition

Return IMessageActivity if this is a message activity, null otherwise.

public Microsoft.Bot.Schema.IMessageActivity AsMessageActivity ();
abstract member AsMessageActivity : unit -> Microsoft.Bot.Schema.IMessageActivity
Public Function AsMessageActivity () As IMessageActivity

Returns

IMessageActivity.

Applies to