C++ cUrl send an image buff to telegram bot via api
问题 I'm trying to send an image buff with cUrl to the telegram API using c++. Just to know I' m developing on Windows 10. Here is all I have done. First I send a photo from my hard drive using curl from terminal using this command: curl -s -X POST "https://api.telegram.org/bottoken/sendPhoto" -F chat_id=id -F photo="@D:/a.jpg" On the telegram chat I receive the photo with this command meanwhile on the console in which I did the cUrl request I have a response like this: {"ok":true,"result":{