IActivity.AsMessageDeleteActivity 方法

定义

如果这是消息删除活动,则返回 IMessageDeleteActivity;否则返回 null。

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

返回

IMessageDeleteActivity。

适用于