Skip to content
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

The Keyboard persist on Telegram for Android #393

Open
Barabba11 opened this issue Sep 29, 2024 · 2 comments
Open

The Keyboard persist on Telegram for Android #393

Barabba11 opened this issue Sep 29, 2024 · 2 comments

Comments

@Barabba11
Copy link

Hi! I'm runnng this example:
https://github.com/windkh/node-red-contrib-telegrambot/blob/master/examples/keyboard.json
With Telegram for windows works ok, type the command>see keyboard>make choice>the keyboard disappears.
While the same on Android: type the command>see keyboard>make choice>the command is worwarded sucessfully but the keyboard keeps on chat, I need to reduce it manually.

If I have opened both interfaces:
When on PC I call command the keboard disappears on both, I select answer on PC the keboard disappears on PC but still on phone, when I chose with phone (cmmand exacuted) the keyboard stills on both.
What can I do to eliminate the keyboard? Thanks

@Barabba11
Copy link
Author

Another 2 quesions please:

  1. why if (msg.payload.content === "off") works if the message otputed from command node and doesn't work with receive node? That makes me crazy...
    the only difference I see is that the message from second utput /command is generated and sent by NR, while receive node outputting what comes from internet. Neither if I send that exact text (I chech on debug and it's correct) from phone, neither from telegram desktop. I've tried to clean eventually /n etc but no success,. Mistery.

  2. consider I don't filter what I receive and I reply to all messages received ("Warning, you can us only /commandexample text"), I flag the "commands (from configured command nodes)" so I suppose when I type /commandexample I don't receive also the warning message, since it match the filter, but I still receive. What I'm doing wrong?
    Thanks

@Barabba11
Copy link
Author

when the keyboard stays (after reply), it doesn't produce effect after pressure, it's an empty keyboard which appears always. Something is missing to send to telegram to close the keyboard and don't show more. Which is the command to send to close the keyboard, I would send it once more, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant