次の方法で共有


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

ユーザーが拒否した場合にボットに返されるコンテキスト。 これはフリー フロー スキーマであり、アクティビティの [値] フィールドに返送されます。

適用対象