pyTelegramBotAPI
pyTelegramBotAPI copied to clipboard
bot.send_photo() fails
Please answer these questions before submitting your issue. Thanks!
- What version of pyTelegramBotAPI are you using? 3.0.1
- What OS are you using? Ubuntu 16.04LTE
- What version of python are you using? 3.5.2
After upgrade my pyTelegramBotAPI, when I use bot.send_photo() command appears this message:
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: wrong file identifier/HTTP URL specified"}']
I tested it with another photo and it works correctly.