telegramx.js

UploadableFile

interface

A concrete file to upload, pairing raw bytes/stream with a filename. Produced by and accepted anywhere the API expects an InputFile.

Declaration

interface UploadableFile 

Properties

dataproperty#
data: Blob | Buffer | Readable;
nameproperty#
name: string;