title: How to send big files from URL to Telegram bot?
body: <p>I have some big size files (in <code>MP4</code> and <code>Zip</code> formats) and I want to send them to my chat by Telegram bot, I used the code below:</p>
  
  <pre><code>file_get_contents('https://api.telegram.org/bot[[app:token]]/sendDocument?chat_id=24523586&amp;document='.$fileAddress);
  </code></pre>
  
  <p>But it just can send files with small sizes, less than 50MB! But I know there is no file size limitation for documents which are sending by <code>file_id</code>. You can see <a href="https://core.telegram.org/bots/api#senddocument" rel="nofollow noreferrer">this page</a><br>
  Now how can I make <code>file_id</code> for my files? My files are uploaded on my server and I am using PHP.</p>