with open ('jpeg.py', 'r') as file:
peg=file.readlines()
pic=str(peg[1])
print (pic)
bot.send_photo(message.chat.id,photo= pic)
文件中的 ID 已正确读取。该机器人不发送照片
with open ('jpeg.py', 'r') as file:
peg=file.readlines()
pic=str(peg[1])
print (pic)
bot.send_photo(message.chat.id,photo= pic)
文件中的 ID 已正确读取。该机器人不发送照片