Closed ahron33 closed 4 years ago
Please, follow issue template. As I can see you're using pretty old version of the library. I couldn't replicate the problem with the latest version.
Please, follow issue template. As I can see you're using pretty old version of the library. I couldn't replicate the problem with the latest version.
so what could i do to fix it update to what version?
The latest one: 15.5.1
The latest one: 15.5.1
its on this version..
FileToSend
type has long been removed. You can read migration guide about breaking changes here https://telegrambots.github.io/book/Migration-Guide-to-Version-14.x.html.
FileToSend
type has long been removed. You can read migration guide about breaking changes here https://telegrambots.github.io/book/Migration-Guide-to-Version-14.x.html.
thanks! i did it with this code
Stream stream = System.IO.File.OpenRead("Screenshot_8.png"); await bot.SendPhotoAsync(e.Message.Chat.Id, stream);
i am trying to get this working but i got an error on this filetosend thing
what is this?
`WebRequest req = WebRequest.Create("http://google.com"); req.Method = "GET";