Please answer these questions before submitting your issue. Thanks!
What version of pyTelegramBotAPI are you using? 2.3.1
What OS are you using? Ubuntu 16.04.2
What version of python are you using? 2.7
When I'm trying to get photo from user and work with it further, I receive such error.
obj = cls.check_json(json_type)
File "/usr/local/lib/python2.7/dist-packages/telebot/types.py", line 77, in check_json
return json.loads(json_type)
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Please answer these questions before submitting your issue. Thanks!
What version of pyTelegramBotAPI are you using? 2.3.1
What OS are you using? Ubuntu 16.04.2
What version of python are you using? 2.7
When I'm trying to get photo from user and work with it further, I receive such error.
my methods: