Closed heyferh closed 8 years ago
Create a pull request if you have tested your code
@rubenlagus is always happy about contributions :wink:
Ok 👍 thx, @Clevero
Well, I think @antonu17 has already started the same fix, it seems like there are another similar bugs in SendVideo, SendDocument etc. https://github.com/antonu17/TelegramBots/commit/60cb6687d5a65e67adea697a752d18f6eec12b33
I see. I made several commits after pull request, so i don't think it will be accepted. Lets wait for @rubenlagus reaction.
Hey guys :) give us some time, should be soon but we have a few more projects that require attention at the moment.
@antonu17 @heyferh Can you check with version v2.3 ? Sorry about these issues, but none of my bots currently use those methods so I didn't noticed
I confirm it working well now.
Greetings, the following code snippet from the bottom of AbsSender::sendPhoto method fails to create new Message object.
the Message constructor is reading json wrong (there are 2 top level fields: ok and result), have to
jsonObject.getJSONObject("result")
first