CardAction interface

クリック可能なアクション

プロパティ

channelData

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

displayText

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

image

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

imageAltText

フィールドの image 代わりに使用する代替画像テキスト

text

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

title

ボタンに表示されるテキストの説明

type

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

value

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

プロパティの詳細

channelData

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

channelData?: any

プロパティ値

any

displayText

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

displayText?: string

プロパティ値

string

image

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

image?: string

プロパティ値

string

imageAltText

フィールドの image 代わりに使用する代替画像テキスト

imageAltText?: string

プロパティ値

string

text

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

text?: string

プロパティ値

string

title

ボタンに表示されるテキストの説明

title: string

プロパティ値

string

type

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

type: ActionTypes | string

プロパティ値

ActionTypes | string

value

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

value: any

プロパティ値

any