-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inline keyboard callback and auth by chat id #80
Comments
Could you send me the flow so that I can have a look on it? |
Hello, I use this example flow: https://github.com/windkh/node-red-contrib-telegrambot/blob/master/examples/inlinekeyboard.json#L1 I only change the telegram bot configuration node to setup my token and the chatid. |
I will check this |
I just tested the flow and everything worked well. I guess there is a spelling error or something like that. |
Hello,
I'm trying the inlinekeyboard flow example, but setting a chat id in my telegram bot node to only allow use my bot from this chat. The command /foo works well and display the two buttons (yes - no), but when I press the buttons, I receive an error: "Unauthorized incoming call from ....". If I add my telegram user as authorized, works well.
I tried to add msg.payload.chatId = -xxxxxxxx; to 'inline keyboard message' (line 21), but no luck. Any idea about what i'm doing wrong?
Regards,
The text was updated successfully, but these errors were encountered: