title: Telegram Get Channel Profile Photo using Bot API
body: <p>I need to get the profile picture of a channel in Telegram. According to this doc: 
  <a href="https://core.telegram.org/bots/api" rel="nofollow noreferrer">https://core.telegram.org/bots/api</a></p>
  
  <p>I first try to use getChat to get the basic information about a channel . Which I get successfully. It gives me a json like this:</p>
  
  <pre><code>{"ok":true,"result":{"id":-1001003587533,"title":"\u06a9\u0627\u0641","username":"kafiha","type":"channel"}}
  </code></pre>
  
  <p>After this I try to use 'getUserProfilePhotos' to get the profile photo. But I can't get it to work because it responds with error when I either pass the id I got from the last request or the channeld username (@channelName).</p>
  
  <p>Do you know how can I accomplish this using Bot API for Telegram?</p>