windkh / node-red-contrib-telegrambot

Telegram bot nodes for node-red.
Other
265 stars 118 forks source link

Chosen inline Result Event not returning anything #217

Closed moshed closed 2 years ago

moshed commented 3 years ago

There is no documentation in the readme so maybe im doing something wrong. Below is my node but nothing shows up in my debug panel when I choose an option from inline results.


    {
        "id": "ae2c0c7aa5972e72",
        "type": "telegram event",
        "z": "f73b6f34255dca9e",
        "name": "",
        "bot": "e8f96049b47b1791",
        "event": "chosen_inline_result",
        "autoanswer": false,
        "x": 230,
        "y": 640,
        "wires": [
            [
                "d78f52e34dcdb1aa"
            ]
        ]
    },
    {
        "id": "d78f52e34dcdb1aa",
        "type": "function",
        "z": "f73b6f34255dca9e",
        "name": "",
        "func": "node.warn(msg)\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 440,
        "y": 640,
        "wires": [
            []
        ]
    },
    {
        "id": "e8f96049b47b1791",
        "type": "telegram bot",
        "botname": "mlbplayerbot",
        "usernames": "",
        "chatids": "",
        "baseapiurl": "",
        "updatemode": "polling",
        "pollinterval": "300",
        "usesocks": false,
        "sockshost": "",
        "socksport": "6667",
        "socksusername": "anonymous",
        "sockspassword": "",
        "bothost": "",
        "botpath": "",
        "localbotport": "8443",
        "publicbotport": "8443",
        "privatekey": "",
        "certificate": "",
        "useselfsignedcertificate": false,
        "sslterminated": false,
        "verboselogging": false
    }
]```
windkh commented 3 years ago

Please send me the complete flow.

Have you turned on /setinlinefeedback using botfather? See https://core.telegram.org/bots/inline#collecting-feedback

moshed commented 2 years ago

sorry never responded to this. that works! thanks!