Skip to content

Instantly share code, notes, and snippets.

@stephenkeep
Created March 16, 2016 23:02
Show Gist options
  • Save stephenkeep/7f37a972e81412682109 to your computer and use it in GitHub Desktop.
Save stephenkeep/7f37a972e81412682109 to your computer and use it in GitHub Desktop.
[{"id":"6a1a54c1.ffa45c","type":"telegram bot","z":"","botname":"DotCustomerBot","usernames":"[]","chatids":"[]"},{"id":"5b53e329.a4ac1c","type":"inject","z":"77980932.8867f8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":88.5,"y":82,"wires":[["cad40d2.f352bf"]]},{"id":"cad40d2.f352bf","type":"function","z":"77980932.8867f8","name":"","func":"msg.payload = {};\n\nmsg.payload.type = 'location';\nmsg.payload.chatId = 9737717;\nmsg.payload.content1 = 'test';\nmsg.payload.content = {\n longitude: 0.977343122721668,\n latitude: 51.1227486937561\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":209.5,"y":143,"wires":[["45b23059.ba4dd"]]},{"id":"d9763646.2689c8","type":"debug","z":"77980932.8867f8","name":"","active":true,"console":"false","complete":"false","x":531.5,"y":143,"wires":[]},{"id":"45b23059.ba4dd","type":"telegram sender","z":"77980932.8867f8","name":"","bot":"6a1a54c1.ffa45c","x":360.5,"y":201,"wires":[["d9763646.2689c8"]]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment