Problem with sending files, images, videos and documents
Hi, I get "A task was canceled" error when I upload various types of files through bot.SendDocument(...), SendAudio(...), or other sending files options! It seems that request time is out or something like this.
Update: I don't have any problem with sending files smaller than 4mb! Also I'm using Telegram.Bot version 9.0.0
Hi, have you tried to increasing the upload timeout? Bot.UploadTimeout defaults to 1 minute
Thanks for your prompt response Robin, I'm gonna try it! 👍
Hi @webiox
I'm gonna try it!
did you tried it?? and what was the result?
@webiox any update?
I'm sorry for my delay, "Bot.UploadTimeout" worked perfectly fine. thanks @MrRoundRobin!