Share via


FileConsentCardResponse Constructors

Definition

Overloads

FileConsentCardResponse()

Initializes a new instance of the FileConsentCardResponse class.

FileConsentCardResponse(String, Object, FileUploadInfo)

Initializes a new instance of the FileConsentCardResponse class.

FileConsentCardResponse()

Initializes a new instance of the FileConsentCardResponse class.

public FileConsentCardResponse ();
Public Sub New ()

Applies to

FileConsentCardResponse(String, Object, FileUploadInfo)

Initializes a new instance of the FileConsentCardResponse class.

public FileConsentCardResponse (string action = default, object context = default, Microsoft.Bot.Schema.Teams.FileUploadInfo uploadInfo = default);
new Microsoft.Bot.Schema.Teams.FileConsentCardResponse : string * obj * Microsoft.Bot.Schema.Teams.FileUploadInfo -> Microsoft.Bot.Schema.Teams.FileConsentCardResponse
Public Sub New (Optional action As String = Nothing, Optional context As Object = Nothing, Optional uploadInfo As FileUploadInfo = Nothing)

Parameters

action
String

The action the user took. Possible values include: 'accept', 'decline'.

context
Object

The context associated with the action.

uploadInfo
FileUploadInfo

If the user accepted the file, contains information about the file to be uploaded.

Applies to