Closed convexset closed 8 years ago
works brilliantly!
Great. Thanks for the package.
On Tuesday, 24 May 2016, Shaun Walker notifications@github.com wrote:
works brilliantly!
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/depoio/node-telegram-bot/issues/70#issuecomment-221203197
Regards, Jeremy Chen
Is anyone planning to do a PR for this? I'm willing to jump in if no one is working on one.
Not me. I don't know enough about the package and API. I've checked that forwarding messages to it works, receiving audio is also fine. The only strange exception I've noted is edited messages.
Waiting for a new version to replace my monkey patched one.
Regards, Jeremy Chen
On Wed, May 25, 2016 at 10:01 AM, Kelvin De Moya notifications@github.com wrote:
Is anyone planning to do a PR for this? I'm willing to jump in if no one is working on one.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/depoio/node-telegram-bot/issues/70#issuecomment-221453995
I've created a PR that should resolve this issue, happy to make adjustments where required
There is a problem with
_poll
when messages are edited before being read.msg.message
is missing when a message is edited,msg.edited_message
is availableI've provided a very quick fix. But you might want to do something more comprehensive.
Here's what a
msg.edited_message
looks like: