FileConsentCard Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FileConsentCard() |
Initializes a new instance of the FileConsentCard class. |
FileConsentCard(String, Nullable<Int64>, Object, Object) |
Initializes a new instance of the FileConsentCard class. |
FileConsentCard()
Initializes a new instance of the FileConsentCard class.
public FileConsentCard ();
Public Sub New ()
Applies to
FileConsentCard(String, Nullable<Int64>, Object, Object)
Initializes a new instance of the FileConsentCard class.
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)
Parameters
- description
- String
File description.
- acceptContext
- Object
Context sent back to the Bot if user consented to upload. This is free flow schema and is sent back in Value field of Activity.
- declineContext
- Object
Context sent back to the Bot if user declined. This is free flow schema and is sent back in Value field of Activity.