The same code but without & before models.InputFileUpload fails with the next error:
unexpected response statusCode 400 for method sendDocument, {"ok":false,"error_code":400,"description":"Bad Request: invalid file HTTP URL specified: Wrong port number specified in the URL"
Expected behaviour: this should also work (or just fail with an obvious error message).
This code compiles and works fine:
The same code but without
&
beforemodels.InputFileUpload
fails with the next error:Expected behaviour: this should also work (or just fail with an obvious error message).