Hook.io problem
raditv opened this issue · comments
I have a problem when using hook.io
evalmachine.<anonymous>:9
var textmessage = msg.text;
^
Cannot read property 'text' of undefined
that is error message
Make sure to:
- match
var TOKEN = hook.env.merbot_key;
andvar MASTER = hook.env.mimin_teh_bot;
with your key on environmet variable.
merbot_key
is my bot api token key, andmimin_teh_bot
is my telegram-cli id key. - start the bot webhook