共用方式為


IActivity.AsSuggestionActivity 方法

定義

如果這是建議活動,則會傳回 IMessageDeleteActivity,否則為 null。

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

傳回

ISuggestionActivity。

適用於