Closed pepethelis closed 1 month ago
Looking into this
I currently believe this to be an issue with the Bot API server. I know for a fact that it isn't a problem with grammY. The other possibility is that something is wrong with the way the API is used in this example. I'll get back to you once I know more.
We didn't read the specs.
https://core.telegram.org/bots/api#editmessagemedia
When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL.
Files attached via a link are sent normally, unlike locally uploaded files. The code for uploading files is recreated step by step using grammy classes grammy version: 1.24.0