Trying to send myself a file using Telegram and the 'telegram sender' node is always moaning about chatId being missing - am I doing this wrong?
[{"id":"f9da9fc7.b66e6","type":"telegram sender","z":"85dfd613.ecdcc8","name":"","bot":"44c1a3de.9f409c","x":240,"y":680,"wires":[["9c262076.ad095"]]},{"id":"67a739ee.445fb8","type":"function","z":"85dfd613.ecdcc8","name":"","func":"msg.payload.content = 'woo.jpeg';\nmsg.payload.type = 'photo';\nmsg.payload.chatId = 'xxx';\nreturn msg;","outputs":1,"noerr":0,"x":140,"y":620,"wires":[["f9da9fc7.b66e6"]]},{"id":"98576c7b.70abc","type":"inject","z":"85dfd613.ecdcc8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":80,"y":580,"wires":[["67a739ee.445fb8"]]},{"id":"9c262076.ad095","type":"debug","z":"85dfd613.ecdcc8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":340,"y":760,"wires":[]},{"id":"44c1a3de.9f409c","type":"telegram bot","z":"","botname":"PBXBot","usernames":"pbx_bot","chatids":"xxx","baseapiurl":"","updatemode":"polling","pollinterval":"300","usesocks":false,"sockshost":"","socksport":"6667","socksusername":"anonymous","sockspassword":"","bothost":"","localbotport":"8443","publicbotport":"8443","privatekey":"","certificate":"","useselfsignedcertificate":false,"sslterminated":false,"verboselogging":false}]
thanks
11/07/2020, 19:33:04[node: f9da9fc7.b66e6](http://192.168.194.2:1880/#)msg : string[27]
"msg.payload.chatId is empty"
(chatId obfusated above with xxx)