id есть,все есть
id = 1375165487
img = open('D:/projects/BetBot/pay_bot1/data/img' + message.photo[1].file_id, 'rb')
File "bot.py", line 517, in next4_message
bot.send_photo(id, img)
File "C:\Users\fyodo\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telebot\__init__.py", line 638, in send_photo
apihelper.send_photo(self.token, chat_id, photo, caption, reply_to_message_id, reply_markup,
File "C:\Users\fyodo\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telebot\apihelper.py", line 276, in send_photo
return _make_request(token, method_url, params=payload, files=files, method='post')
File "C:\Users\fyodo\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telebot\apihelper.py", line 60, in _make_request
return _check_result(method_name, result)['result']
File "C:\Users\fyodo\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telebot\apihelper.py", line 79, in _check_result
raise ApiException(msg, method_name, result)
telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 400 Bad Request. Response body:
[b'{"ok":false,"error_code":400,"description":"Bad Request: file must be non-empty"}']