node-red-contrib-telegrambot-home icon indicating copy to clipboard operation
node-red-contrib-telegrambot-home copied to clipboard

Allow overwriting answers

Open cgfm opened this issue 1 year ago • 0 comments

Added suport for overwriting the answers with msg.answer. msg.answer could be an array like ["a","b","c"]. Then the value (a,b,c) will be the returned payload. It also could be [ {"text":"a", "callback":"cA"}, {"text":"b", "callback":"cB"}, {"text":"c", "callback":"cC"} ] Then the callback will be returned. In that case only one out node will be displayed, exceped when timeout is enabled. In that case two nodes will be displayed.

cgfm avatar Sep 30 '23 16:09 cgfm