Closed kuradi closed 10 months ago
its not an issue, more like a cry for help :)
is there any way to make inline_keyboard dynamic, sort of
if a=b show {"text": "Yes","callback_data": "FOO YES"} if a=c {"text": "No","callback_data": "FOO NO"}]
?
I would put that code in a function node
do you have any working example?
No, but you can also use a switch node https://flowfuse.com/node-red/core-nodes/switch/
its not an issue, more like a cry for help :)
is there any way to make inline_keyboard dynamic, sort of
if a=b show {"text": "Yes","callback_data": "FOO YES"} if a=c {"text": "No","callback_data": "FOO NO"}]
?