speekflayder
Results
1
comments of
speekflayder
you need to change this: Task.Run(async()=> uploadedFile = (TLInputFile)await client.UploadFile("tass", new StreamReader("E:\\tass.png"))).Wait(); to this: Task.Run(async()=> uploadedFile = (TLInputFile)await client.UploadFile("tass.png", new StreamReader("E:\\tass.png"))).Wait(); but I get an "InvalidCastException" error. BUT everything works....