title: web notification with input action
body: <p>i'm using firebase messaging to push notification to web client.</p>
  
  <p>when notification is pushed i show it with action buttons and i am able to andle the click </p>
  
  <p>what i want to do is when user will click button, to have a small input area that the user can type in somthing and to handle that in my code </p>
  
  <p>(just like 'quick reply' on whatsapp or like window.prompt() in browser)</p>
  
  <p>here is my service-worker code </p>
  
  <pre><code>messaging.setBackgroundMessageHandler(function (payload) {
      notificationTitle = payload.data.title
      notificationOptions = {
          body: payload.data.body,
          actions: [{action:'ok', title: 'Ok'},{action:'dismiss', title: 'Not now'}]
      };
      return self.registration.showNotification(notificationTitle, notificationOptions);
  });
  
  self.addEventListener('notificationclick', function (event) {
      switch (event.action) {
          case 'ok':
              clients.openWindow('http://localhost:5000');
              break;
          case 'dismiss':
              console.log('dismissed')
              break;
      }
  }
      , false);
  </code></pre>
  
  <p>is it posible at all?</p>
  
  <p>thanks</p>