語言

FileConsentCard 建構函式

定義

多載

名稱 Description
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

如果使用者同意上傳,則傳回給 Bot 的內容。 這是自由流程架構,會傳回 [活動值] 欄位中。

declineContext
Object

如果用戶拒絕,則傳回給 Bot 的內容。 這是自由流程架構,會傳回 [活動值] 欄位中。

適用於