windkh / node-red-contrib-telegrambot

Telegram bot nodes for node-red.
Other
256 stars 116 forks source link

Can't get rid from Custom keyboard #288

Closed Barabba11 closed 1 year ago

Barabba11 commented 1 year ago

Hi, I've followed the example, in particular I'm sure I added context.global.keyboard.pending=false; on the function node attached to the second output of telegram command module, but I can't kill it, it still in the chat until I delete the bot, if I rejoin it and launch a command it will appear and keep there, doesn't matter how many times I press the 2 options, or if I execute the same or another command. The command actually works and produce the desidered result, it just doesn't remove the keyboard. Is it a bug? In previous time with the same functions nodes I haven't this problem

Barabba11 commented 1 year ago

a bit strange, I'm sending the same message to two different chatId, I receive the confermation message on both, it means the function node containing context.global.keyboard.pending=false; has been executed, initally I have the same problem on both phones about steady Keyboard, but after some time on one phone it disappear, on the other persist.

windkh commented 1 year ago

please send me your flow

windkh commented 1 year ago

@Barabba11 hi, as the problem is on the client side I would like to close this one, ok?