A place for various bots
| node_modules | post order to multivielemessages | |
| index.js | fix reducer bug | |
| package-lock.json | post order to multivielemessages | |
| package.json | post order to multivielemessages | |
| readme.md | update JSON in readme | |
post order to telegram chat
It needs these env-vars:
- PORT
- BOT_TOKEN (the telegram botfather will provide you with one when you set up your bot)
- CHAT_ID (for groups, add the bot to the group, send a message to the bot, e.g. /anything @, then find the ID here: https://api.telegram.org/bot<BOT_TOKEN>/getUpdates )
It currently expects json-data like this
{ "from": 'EOTL', "to": 'Toughie', "message": 'Hallo there', "order": [{ "item": "rice-white", "size": "md" }] }