다음을 통해 공유


FileConsentCard 생성자

정의

오버로드

FileConsentCard()

FileConsentCard 클래스의 새 인스턴스를 초기화합니다.

FileConsentCard(String, Nullable<Int64>, Object, Object)

FileConsentCard 클래스의 새 인스턴스를 초기화합니다.

FileConsentCard()

FileConsentCard 클래스의 새 인스턴스를 초기화합니다.

public FileConsentCard();
Public Sub New ()

적용 대상

FileConsentCard(String, Nullable<Int64>, Object, Object)

FileConsentCard 클래스의 새 인스턴스를 초기화합니다.

public FileConsentCard(string description = default, long? sizeInBytes = default, object acceptContext = default, object declineContext = default);
new Microsoft.Bot.Schema.Teams.FileConsentCard : string * Nullable<int64> * obj * obj -> Microsoft.Bot.Schema.Teams.FileConsentCard
Public Sub New (Optional description As String = Nothing, Optional sizeInBytes As Nullable(Of Long) = Nothing, Optional acceptContext As Object = Nothing, Optional declineContext As Object = Nothing)

매개 변수

description
String

파일 설명입니다.

sizeInBytes
Nullable<Int64>

업로드할 파일의 크기(바이트)입니다.

acceptContext
Object

사용자가 업로드에 동의한 경우 컨텍스트가 봇으로 다시 전송됩니다. 이 스키마는 자유 흐름 스키마이며 활동의 값 필드로 다시 전송됩니다.

declineContext
Object

사용자가 거절한 경우 컨텍스트가 봇으로 다시 전송됩니다. 이 스키마는 자유 흐름 스키마이며 활동의 값 필드로 다시 전송됩니다.

적용 대상