Share via


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

이 작업과 연결된 채널 관련 데이터입니다.

적용 대상