Git Product home page Git Product logo

Comments (11)

arcturial avatar arcturial commented on June 2, 2024

Does your bot use webhooks to receive updates or do you poll?

from hubot-telegram.

ishankhare07 avatar ishankhare07 commented on June 2, 2024

I've only setup the TELEGRAM_TOKEN and not any other things

from hubot-telegram.

arcturial avatar arcturial commented on June 2, 2024

What version of the bot are you running currently?

from hubot-telegram.

arcturial avatar arcturial commented on June 2, 2024

Hey, the latest master version has some more debug in to debug incoming messages. Can you please give it a try and let me know what output you get? Also, are you using an inline bot?

from hubot-telegram.

ishankhare07 avatar ishankhare07 commented on June 2, 2024

@arcturial will do that and let you know very soon

from hubot-telegram.

arcturial avatar arcturial commented on June 2, 2024

Have you managed to replicate the issue with the latest debug additions active?

from hubot-telegram.

rvrangel avatar rvrangel commented on June 2, 2024

I was having the same problem with 0.1.0, but upgrading to master seems to have fixed it for me. Perhaps release a new version?

from hubot-telegram.

iroes avatar iroes commented on June 2, 2024

Maybe it has to do with a message update by the telegram user after being sent. The telegram API responds with a JSON object that the adapter doesn't know how to handle (the object update.message is undefined in this case, then message_id doesn't exist either. The object should be edited_message in this case).

{"update_id":887944688,"edited_message":{"message_id":9,"from":{"id":1111111,"first_name":"xxx","username":"xxx"},"chat":{"id":-22222,"title":"xxx","type":"group"},"date":1464543624,"edit_date":1464543643,"text":"xxxbot ping"}}

from hubot-telegram.

 avatar commented on June 2, 2024

FYI, i had a similar problem.
ERROR TypeError: Cannot read property 'hasOwnProperty' of undefined
It turned out that msg.reply caused this and msg.send works fine.$

from hubot-telegram.

lukefx avatar lukefx commented on June 2, 2024

#50 This branch should fix your issue, can I ask you to test it out?
thx @ishankhare07

from hubot-telegram.

lukefx avatar lukefx commented on June 2, 2024

As said, #50 should fix this issue. I will close this thread...hoping not have to re-open it 😃

from hubot-telegram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.