You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello and thank you for this nice software and tips. Following your instructions I am using AWS Lamba as webhook for all messages that comes to telegram bot.
However I got an issue. For some reason lambda function does not reply on command first time. Telegram user just has no answer. But it replies every next time on previous request.
I will give and example:
I put command 1. Result: no answer.
I put command 2. Result: answer on command 1.
I put command 3. Result: answer on command 2
I put command 4. Result: answer on command 3
and so on... what is going wrong?
The text was updated successfully, but these errors were encountered:
For anyone who may encounter same situation. Replace the last line return processCommand; to return {statusCode: 200}; in index.js solve this problem for me. Still don't know why.
Hello and thank you for this nice software and tips. Following your instructions I am using AWS Lamba as webhook for all messages that comes to telegram bot.
However I got an issue. For some reason lambda function does not reply on command first time. Telegram user just has no answer. But it replies every next time on previous request.
I will give and example:
I put command 1. Result: no answer.
I put command 2. Result: answer on command 1.
I put command 3. Result: answer on command 2
I put command 4. Result: answer on command 3
and so on... what is going wrong?
The text was updated successfully, but these errors were encountered: