title: sendMediaGroup telegram PHP
body: <p>I am using telegram library</p>
  <blockquote>
  <p>php telegram bot sdk</p>
  </blockquote>
  <p>And I want to send some photos in message using <strong>sendMediaGroup</strong></p>
  <p>Like this:</p>
  <pre><code>$reply = &quot;*photos*&quot;;
  $telegram-&gt;sendMediaGroup([
       'chat_id' =&gt; $chat,
       'media' =&gt; [
        ['type' =&gt; 'photo', 'media' =&gt; 'attach://photo1' ],
        ['type' =&gt; 'photo', 'media' =&gt; 'attach://photo2' ],
    ],
       'photo1' =&gt; InputFile::create(file_get_contents(&quot;https://&quot;.$_SERVER['SERVER_NAME'].&quot;/newbot/screens/ctry/en1.jpg&quot;)),
       'photo2' =&gt; InputFile::create(file_get_contents(&quot;https://&quot;.$_SERVER['SERVER_NAME'].&quot;/newbot/screens/ctry/en2.jpg&quot;)),
       'caption'=&gt; $reply,
       'parse_mode' =&gt; 'markdown'
       ]);
  </code></pre>
  <p>I used without <strong>json_encode</strong> and <strong>file_get_contents</strong>, but it doesn't worked too</p>