Hello Friends,
i did not get this simple PHP Code to an Labview Code.
<form action="https://api.telegram.org/bot<scripttoken>/sendDocument" method="post" enctype="multipart/form-data">
<input type="text" name="chat_id" value="<chatId>" />
<input type="file" name="document" />
<input type="submit" value="send" />
</form>
I have problems with the the file that i want to send. I got an error from the API back, that the path to my file is wrong. I do not know how to format it right for enctype="multipart/form-data".

Can you help me out?
Here is the API description. You can check under sendDocument. But the parameters are ok, because the PHP is working.
https://core.telegram.org/bots/api
Regards
Tim