title: Rich response fulfillment Dialogflow Messenger
body: <p>I'm using Dialogflow Messenger integration. Custom Payloads are working from the Dialogflow platform, but I don't know how to use them from Webhook.</p>
  <p>Here is my JavaScript code that doesn't works:</p>
  <pre><code>const functions = require('firebase-functions');
  const { dialogflow } = require('actions-on-google');
  const { Card, Suggestion } = require('dialogflow-fulfillment');
  const { WebhookClient } = require('dialogflow-fulfillment');
  const app = dialogflow();
  
  const response = {
    &quot;fulfillment_messages&quot;: [{
      &quot;payload&quot;: {
        &quot;richContent&quot;: [
          [{
            &quot;type&quot;: &quot;chips&quot;,
            &quot;options&quot;: [{
              &quot;text&quot;: &quot;Empezar!&quot;
            }]
          }]
        ]
      }
    }]
  }
  
  const numero = (conv) =&gt; {
    conv.ask(response);
  };
  
  app.intent(&quot;numero&quot;, numero);
  exports.dialogflowFirebaseFulfillment = functions.https.onRequest(app);
  
  </code></pre>
  <p>The intent is detected correctly but the code for the rich response is not working, the chatbot response is: 'Cannot display response in Dialogflow simulator. Please test on the Google Assistant simulator instead.'.
  I want to know how to use all possible custom payloads (Info response, Description response, Button response...).</p>