-
Hello. I'm already using local telegram bot api and can download bigger files from user. But when I try to send file bigger than 50 mb it got stuck.
It works with smaller files but with bigger I never got results. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can only send large file from file system instead of using InputFile. Just provide full path to the file as string into API method. Note that this file should be accessible for the Bot API server by the same path that you provide in the API call. |
Beta Was this translation helpful? Give feedback.
-
So I should be able to just do something like
It doesn't seems to work for some reason. I launched local bot api from admin, so it should have access to the file |
Beta Was this translation helpful? Give feedback.
I solved problem passing local URL to function