Currently unable to get Telegram Sender to send a photo. I have a function with it's content below, but the telegram sender is displaying an error of "msg.payload.type is empty". Currently unable to figure out where this error is coming from as the payload.type is there and double checked..
The .jpg in the URL path works when browsing and tried without the IP and just /www/...
Thanks
Function:
msg.payload.content = 'http:///local/notifications/doorbellpress.jpg';
msg.payload.type = 'photo';
msg.payload.caption = "Someone is at the front door"
return msg;
Currently unable to get Telegram Sender to send a photo. I have a function with it's content below, but the telegram sender is displaying an error of "msg.payload.type is empty". Currently unable to figure out where this error is coming from as the payload.type is there and double checked..
The .jpg in the URL path works when browsing and tried without the IP and just /www/...
Thanks
Function: msg.payload.content = 'http:///local/notifications/doorbellpress.jpg';
msg.payload.type = 'photo';
msg.payload.caption = "Someone is at the front door"
return msg;