FileConsentCard 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| FileConsentCard() |
初始化 FileConsentCard 類別的新執行個體。 |
| FileConsentCard(String, Nullable<Int64>, Object, Object) |
初始化 FileConsentCard 類別的新執行個體。 |
FileConsentCard()
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
檔案描述。
- acceptContext
- Object
如果使用者同意上傳,則傳回給 Bot 的內容。 這是自由流程架構,會傳回 [活動值] 欄位中。
- declineContext
- Object
如果用戶拒絕,則傳回給 Bot 的內容。 這是自由流程架構,會傳回 [活動值] 欄位中。