InputFile
This object represents the contents of a file to be uploaded. Must be posted using multipart/form-data in the usual way that files are uploaded via the browser.
marker type — carries no additional data.
import
import type { InputFile } from "@yaebal/types";used by
methods
- sendAnimation
- sendAudio
- sendDocument
- sendLivePhoto
- sendPhoto
- sendSticker
- sendVideo
- sendVideoNote
- sendVoice
- setChatPhoto
- setStickerSetThumbnail
- setWebhook
- uploadStickerFile
official Bot API docs: https://core.telegram.org/bots/api/#inputfile