Comments (11)
Does your bot use webhooks to receive updates or do you poll?
from hubot-telegram.
I've only setup the TELEGRAM_TOKEN
and not any other things
from hubot-telegram.
What version of the bot are you running currently?
from hubot-telegram.
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.
@arcturial will do that and let you know very soon
from hubot-telegram.
Have you managed to replicate the issue with the latest debug additions active?
from hubot-telegram.
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.
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.
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.
#50 This branch should fix your issue, can I ask you to test it out?
thx @ishankhare07
from hubot-telegram.
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)
- Receiving double messages when polling
- ERROR Error: HTTP status 504 returned. HOT 2
- bot no receiving messages from supergroup HOT 5
- API fields have been renamed HOT 2
- Remove bot name when using /command@bot_name HOT 1
- Maximum call stack size exceeded HOT 6
- Slow connectivity causes duplicate messages HOT 2
- Newbie request
- error on help command (and workaround) HOT 11
- Expose reply_to_message from message
- Add `hubot-adapter` topic HOT 1
- / commands in supergroups not working HOT 2
- Proxy issues HOT 1
- CoffeeScript 2.x support HOT 2
- Read the response text of a message HOT 1
- Group Chat Slash Command With Mention HOT 1
- Interval Issue HOT 1
- Markdown with Bad Entities
- Error seeking help HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hubot-telegram.