ok i got this demo working.
How do I send now my picture that is stored on my NAS to telegram? The request is only working with http://
below my flow
[{"id":"744085d0.20ac7c","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"cab9916f.919f","type":"api-call-service","z":"744085d0.20ac7c","name":"","server":"29566c30.83fbd4","version":1,"debugenabled":false,"service_domain":"camera","service":"snapshot","entityId":"camera.voordeur_3","data":"{\"filename\": \"/config/www/snap.png\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":740,"y":220,"wires":[["f3de430e.8b75c","49ac734f.e9c70c"]]},{"id":"e1a058be.d08648","type":"inject","z":"744085d0.20ac7c","name":"","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":400,"y":300,"wires":[["cab9916f.919f"]]},{"id":"b0847137.8ad63","type":"looptimer","z":"744085d0.20ac7c","duration":"5","units":"Second","maxloops":"3","maxtimeout":"30","maxtimeoutunits":"Second","name":"","x":420,"y":220,"wires":[["cab9916f.919f"],[]]},{"id":"f3de430e.8b75c","type":"debug","z":"744085d0.20ac7c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":950,"y":300,"wires":[]},{"id":"49ac734f.e9c70c","type":"function","z":"744085d0.20ac7c","name":"prep msg","func":"msg.filename = '/config/www/snap.png';\nmsg.payload = { \n data: {\n type: 'photo',\n file: '/config/www/snap.png',\n chatId: 12345678,\n caption: 'Snapshot voordeur.' }\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":960,"y":220,"wires":[["beb298d9.3a9e88","fc6acbb3.786d08"]]},{"id":"9b622a42.852c28","type":"inject","z":"744085d0.20ac7c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":120,"y":220,"wires":[["b0847137.8ad63"]]},{"id":"beb298d9.3a9e88","type":"debug","z":"744085d0.20ac7c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1170,"y":300,"wires":[]},{"id":"fc6acbb3.786d08","type":"api-call-service","z":"744085d0.20ac7c","name":"","server":"29566c30.83fbd4","version":1,"debugenabled":true,"service_domain":"telegram_bot","service":"send_photo","entityId":"","data":"{\"file\":\"/config/www/snap.png\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1250,"y":220,"wires":[[]]},{"id":"4d40e61f.e3e758","type":"inject","z":"744085d0.20ac7c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":700,"y":300,"wires":[["49ac734f.e9c70c"]]},{"id":"29566c30.83fbd4","type":"server","z":"","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]