Answers for "how to send image using pythone in telegram"

2

python telegram bot send image

If you have local image path:

bot.send_photo(chat_id, photo=open('path', 'rb'))
If you have url of image from internet:

bot.send_photo(chat_id, 'your URl')
Posted by: Guest on March-16-2021

Code answers related to "how to send image using pythone in telegram"

Python Answers by Framework

Browse Popular Code Answers by Language