skip to Main Content

Upload photo to Telegram API with Python Requests

I've seen the other questions on this but I can't figure out where I'm going wrong. I can upload a file no problem using a PHP page that looks like this: <form action="https://api.telegram.org/bot190705145:AAH17XDRrPtDO1W1qHCoZ8i0_KqAAAAAAA/sendPhoto" method="post" enctype="multipart/form-data"> <input type="text" name="chat_id" value="XXXXXXXX" />…

VIEW QUESTION
Back To Top
Search