As far as I know, you can send to the file to telegram not only with file_id or URL link to the file.
To send binary data according to the documentation, you need to use 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.
Example Curl query:
curl --location --request POST 'https://api.telegram.org/bot-key/sendPhoto' \ --header 'Content-Type: application/json' \ --form '[email protected]"/home/image.png"' \ --form 'chat_id="chat_id"'
Can this feature be added to the following methods?