-
-
Notifications
You must be signed in to change notification settings - Fork 119
/
sendphoto.json
1 lines (1 loc) · 1.42 KB
/
sendphoto.json
1
[{"id":"1bdded1.fbdcf13","type":"telegram sender","z":"f86d9fd2.9f14c","name":"","bot":"ff78bc5a.00874","haserroroutput":false,"outputs":1,"x":570,"y":520,"wires":[[]]},{"id":"33b83c10.13de64","type":"function","z":"f86d9fd2.9f14c","name":"send picture","func":"// content can be a file_id, url, local path...\nmsg.payload.content = 'https://www.cleverfiles.com/howto/wp-content/uploads/2018/03/minion.jpg';\nmsg.payload.type = 'photo';\nmsg.payload.caption = \"super cool\"\n\n/* type can be one of the following\nphoto\naudio\nvideo\nsticker\nvoice\ndocument\n*/\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":353,"y":520,"wires":[["1bdded1.fbdcf13"]]},{"id":"ebd84fc3.d97fa8","type":"telegram command","z":"f86d9fd2.9f14c","name":"/foo","command":"/foo","bot":"ff78bc5a.00874","strict":false,"hasresponse":false,"useregex":false,"removeregexcommand":false,"outputs":1,"x":162.99566650390625,"y":519.8282470703125,"wires":[["33b83c10.13de64"]]},{"id":"ff78bc5a.00874","type":"telegram bot","z":"f86d9fd2.9f14c","botname":"HeinzBot","usernames":"","chatids":"","baseapiurl":"","updatemode":"webhook","pollinterval":"","usesocks":false,"sockshost":"","socksport":"","socksusername":"","sockspassword":"","bothost":"","botpath":"","localbotport":"8443","publicbotport":"8443","privatekey":"C:\\Temp\\PRIVATE.key","certificate":"C:\\Temp\\PUBLIC.pem","useselfsignedcertificate":true,"sslterminated":false,"verboselogging":false}]