CardAction interface
クリック可能なアクション
プロパティ
| channel |
このアクションに関連付けられているチャネル固有のデータ |
| display |
(省略可能) ボタンがクリックされた場合にチャット フィードに表示するテキスト |
| image | ボタンのテキスト ラベルの横に表示される画像 URL |
| 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