📜  python电报机器人发送图像 - Python代码示例

📅  最后修改于: 2022-03-11 14:46:45.536000             🧑  作者: Mango

代码示例1
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')