@tiledesk/tiledesk-whatsapp-connector 0.1.80 → 0.1.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-whatsapp-connector",
3
- "version": "0.1.80",
3
+ "version": "0.1.81",
4
4
  "description": "Tiledesk Whatsapp connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -263,10 +263,12 @@ const path = require('path');
263
263
 
264
264
  if (buttons_count > 10) {
265
265
  // too many buttons
266
- // Option 1: Skip message (current)
266
+ // Option 1: Skip message
267
267
  // Option 2: Cut buttons array -> display first 10 buttons only
268
- // Option 3: Send message with *buttons
268
+ // Option 3: Send message with *buttons (current)
269
269
 
270
+ // Warning: NOT WORKING PROPERLY
271
+ // _raw_message is undefined due to last changes on tiledesk-chatbot
270
272
  whatsapp_message.text = { body: tiledeskChannelMessage.attributes._raw_message };
271
273
  return null;
272
274
  }
Binary file
Binary file
Binary file
Binary file