Table of Contents

Class InputFile

Namespace
Microsoft.Agents.Builder.App
Assembly
Microsoft.Agents.Builder.dll

Represents an upload file

public class InputFile
Inheritance
InputFile
Inherited Members

Constructors

InputFile(BinaryData, string)

The constructor.

public InputFile(BinaryData content, string contentType)

Parameters

content BinaryData

The input file content

contentType string

the input file content type

Properties

Content

The downloaded content of the file

public BinaryData Content { get; set; }

Property Value

BinaryData

ContentType

The content type of the file.

public string ContentType { get; set; }

Property Value

string

ContentUrl

Optional. URL to the content of the file.

public string? ContentUrl { get; set; }

Property Value

string

Filename

Optional. The file name.

public string? Filename { get; set; }

Property Value

string