Hi All,
I am trying to implement button with custom payload. when i send some custom data in the payload it is created as an 2nd object.
Current Output: [ { “recipient_id”: “default”, “text”: “Hello World!”, “buttons”: [ { “payload”: “null”, “title”: “Button1” } ] }, { “recipient_id”: “default”, “custom”: “this is custom payload” } ] Expected Output: I am expecting out put like below [ { “recipient_id”: “default”, “text”: “Hello World!”, “buttons”: [ { “payload”: “null”, “title”: “Button1” } ], “custom”: “this is custom payload” } ]
Any inputs???