title: Telegram bot weird error : Bad Request: wrong file identifier/HTTP URL specified
body: <p>I am sending message to telegram channel using bot.</p>
  
  <p>With using webhook method.</p>
  
  <p>I'm sending file_id via the link. I got the file_id from a channel post.</p>
  
  <p>For some files like GIF &amp; video format (MP4), </p>
  
  <p>when i use this code:</p>
  
  <pre><code>$url = 'https://api.telegram.org/bot'.token.'/sendVideo?chat_id='.uid."&amp;video=".$file."&amp;caption="
  .urlencode($caption);
  
  file_get_contents($url);
  </code></pre>
  
  <p>i get such this error :</p>
  
  <pre><code>{"ok":false,"error_code":400,"description":"Bad Request: wrong file identifier/HTTP URL specified"}
  </code></pre>
  
  <p>I really don't know why i get this, 
  It's like this is random for errors, Because the code is depended to nothing i guess.</p>
  
  <p>I use file_id that i've got from a channel's post.</p>
  
  <p>What is the reason of that error? 
  <strong><em>Bad Request: wrong file identifier/HTTP URL specified</em></strong></p>
  
  <ul>
  <li>I've searched all related topics, I've found NO good information .</li>
  </ul>