I am trying to create buttons / quick replies that will pass data that is customizable on our server side whenever we send a button or quick reply template. I've read the GraphQL docs and can't find a way to attach data to the button which will be sent back when it's pressed. Here is the docs for your reference: https://graphql-docs.com/docs/ButtonItemInput/?graphqlUrl=https://chat-api.zopim.com/graphql/request
Basically in the action field, it only accepts one field: 'value' which will be shown to the user and sent to our server using websockets when the button is pressed, however, my use case requires a second field to be present which stores hidden data and sends it back instead of the one in value.
The picture I've attached above doesn't provide a good user experience as it will expose what is sent to our server, what I need it to do is to instead repeat their choice while sending the data I need back to our server. Has anyone found a workaround for this?
Iniciar sesión para dejar un comentario.