title: Upload self-signed ssl certificate to telegram
body: <p>I'm making telegram bot using webhook on php. The problem is that the webhook doesn't set correctly and idk whats the matter.
  my setwebhook code : </p>
  
  <pre><code>$ch = curl_init(API_URL);
  try {
      $cert = new \CURLFile(SSL_KEY);
  apiRequest('setWebhook', array('url' =&gt;  WEBHOOK_URL , 'certificate' =&gt; $cert));
      echo "webhook set";
  } catch (Exception $e) {
      echo "error";
  }
  </code></pre>