次の方法で共有


CardAction コンストラクター

定義

オーバーロード

CardAction()

CardAction クラスの新しいインスタンスを初期化します。

CardAction(String, String, String, String, String, Object, Object)

CardAction クラスの新しいインスタンスを初期化します。

CardAction()

CardAction クラスの新しいインスタンスを初期化します。

public CardAction ();
Public Sub New ()

適用対象

CardAction(String, String, String, String, String, Object, Object)

CardAction クラスの新しいインスタンスを初期化します。

public CardAction (string type = default, string title = default, string image = default, string text = default, string displayText = default, object value = default, object channelData = default);
new Microsoft.Bot.Schema.CardAction : string * string * string * string * string * obj * obj -> Microsoft.Bot.Schema.CardAction
Public Sub New (Optional type As String = Nothing, Optional title As String = Nothing, Optional image As String = Nothing, Optional text As String = Nothing, Optional displayText As String = Nothing, Optional value As Object = Nothing, Optional channelData As Object = Nothing)

パラメーター

type
String

このボタンによって実装されるアクションの種類。 指定できる値は、'openUrl'、'imBack'、'postBack'、'playAudio'、'playVideo'、'showImage'、'downloadFile'、'signin'、'call'、'messageBack'、'openApp' です。

title
String

ボタンに表示されるテキスト説明です。

image
String

テキスト ラベルの横にあるボタンに表示される画像 URL。

text
String

このアクションのテキスト。

displayText
String

(省略可能) ボタンがクリックされた場合にチャット フィードに表示するテキスト。

value
Object

アクションの補助パラメーター。 このプロパティの内容は ActionType によって異なります。

channelData
Object

このアクションに関連付けられているチャネル固有のデータ。

適用対象