code: public function setQuickReplies($quickReplie)
      {
          $model = new QuickReplie();
  
          $type = !empty($quickReplie['type']) ? $quickReplie['type'] : 'text';
  
          $model->setContentType($type);
  
          if (!empty($quickReplie['title'])) {
              $model->setPayload($quickReplie['payload']);
          }
  
          if (!empty($quickReplie['title'])) {
              $model->setTitle($quickReplie['title']);
          }
  
          if (!empty($quickReplie['image'])) {
              $model->setImageUrl($quickReplie['image']);
          }
  
          $this->quickReplies[] = $model;
      }
docs: Set quick replies
  
  @param array $quickReplie Quick replie