Advertisement
Lutfi221

ci-array

Sep 17th, 2021
770
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.00 KB | None | 0 0
  1. {
  2.   "pages": {
  3.     "/start": [
  4.       {
  5.         "name": "sample",
  6.         "api": "https://umbrella.co.id/demo/jurnal/callback/sample"
  7.       },
  8.       {
  9.         "name": "messageBody",
  10.         "execute": {
  11.           "function": "forEach",
  12.           "args": [
  13.             "sample.result.data_item",
  14.             "%humanIndex%. %value.data_name% dengan index: [%index%]\n"
  15.           ]
  16.         }
  17.       },
  18.       {
  19.         "content": "keranjang:\n{{messageBody}}\nTekan tombol apapun untuk melihat cara alternatif.",
  20.         "userInput": true
  21.       },
  22.       {
  23.         "name": "messageBody",
  24.         "execute": {
  25.           "function": "forEach",
  26.           "args": [
  27.             "sample.result.data_item",
  28.             "{{sample.result.data_item.%index%.data_id}}. {{sample.result.data_item.%index%.data_name}} dengan index: [%index%]\n"
  29.           ]
  30.         }
  31.       },
  32.       {
  33.         "content": "alternatif:\n{{messageBody}}\nIni adalah cara alternatif",
  34.         "userInput": true
  35.       }
  36.     ]
  37.   }
  38. }
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement