Closed gmag11 closed 2 weeks ago
I've got additional diag data. When node registers webhook I can see this in console log.
Webhook enabled:
{"url":"https://xxxxxxxx.pro:443/0000000041:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","has_custom_certificate":false,"pending_update_count":0,"max_connections":40,"ip_address":"1.2.3.4","allowed_updates":["message","callback_query"]}
Shouldn't allowed_updates
contain more items from https://core.telegram.org/bots/api#update?
I've tried selecting polling mode too with same result.
@gmag11 I tested the following scenarios:
So it seems that the event is not raised in channels and supergroups.
I'm receiving edits from supergroup normally using node-red-node-telegrambot. Telegram docs says that bot can only get notification for edits in messages sent after the bot is made admin of the channel or supergroup.
closed due to inactivity
Hi, I'm trying to get notified when a message on which bot is Administrator. I get all new messages but I do not get any event when a messages is edited from Telegram app.
This is the nodes I am using:
```json [ { "id": "67a7c97f9176e170", "type": "debug", "z": "3baecdc6659f7c66", "name": "debug 63", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 400, "y": 2440, "wires": [] }, { "id": "f981cabb966ccc6f", "type": "telegram event", "z": "3baecdc6659f7c66", "name": "", "bot": "f1ce858167eb885e", "event": "edited_message", "autoanswer": false, "x": 160, "y": 2440, "wires": [ [ "67a7c97f9176e170" ] ] }, { "id": "f1ce858167eb885e", "type": "telegram bot", "botname": "xxxxxxx_bot", "usernames": "", "chatids": "", "baseapiurl": "", "updatemode": "webhook", "pollinterval": "300", "usesocks": false, "sockshost": "", "socksprotocol": "socks5", "socksport": "6667", "socksusername": "anonymous", "sockspassword": "", "bothost": "xxxx.xxxxx.com", "botpath": "", "localbotport": "8080", "publicbotport": "443", "privatekey": "", "certificate": "", "useselfsignedcertificate": false, "sslterminated": true, "verboselogging": true } ] ```I've checked that privacy mode is off and bot has all permissions.
Is there any additional requirement?