InputFile interface

A file sent by the user to the bot.

Properties

content

The downloaded content of the file.

contentType

The content type of the file.

contentUrl

Optional. URL to the content of the file.

Property Details

content

The downloaded content of the file.

content: Buffer

Property Value

Buffer

contentType

The content type of the file.

contentType: string

Property Value

string

contentUrl

Optional. URL to the content of the file.

contentUrl?: string

Property Value

string